• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • 🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece! 🔗 Click here to enter!

[AI] buy items!!

Status
Not open for further replies.
Level 13
Joined
Jul 16, 2012
Messages
679
:) Okay I have Example for you

Shop
  • Untitled Trigger 001
    • Events
      • Unit - A unit comes within 256.00 of Put Here Your Shop
    • Conditions
      • ((Owner of (Triggering unit)) controller) Equal to Computer
    • Actions
      • Player - Set (Owner of (Triggering unit)) Current gold to (((Owner of (Triggering unit)) Current gold) - Put Here Your Item Cost)
      • Hero - Create Put Here Your Item and give it to (Triggering unit)
 
Level 18
Joined
May 11, 2012
Messages
2,103
:) Okay I have Example for you

Shop
  • Untitled Trigger 001
    • Events
      • Unit - A unit comes within 256.00 of Put Here Your Shop
    • Conditions
      • ((Owner of (Triggering unit)) controller) Equal to Computer
    • Actions
      • Player - Set (Owner of (Triggering unit)) Current gold to (((Owner of (Triggering unit)) Current gold) - Put Here Your Item Cost)
      • Hero - Create Put Here Your Item and give it to (Triggering unit)

you're missing gold check and do they already have an item and what are they combining and many more things..
 
Status
Not open for further replies.
Top