• 🏆 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!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

Need help with summon misha

Status
Not open for further replies.
Level 9
Joined
Dec 15, 2009
Messages
523
i already have the system but how to make a player doesnt summon it twice?i dunno how to use if/ then/ or /else..
 
Level 13
Joined
May 11, 2008
Messages
1,198
you can use curse ability to make misha cast spell on enemy attacking your hero. this means bear waits for hero to be attacked rather than for hero to attack... you make curse do nothing turning it into a dummy spell then trigger misha cast some spell that you make up. you can set the curse ability cooldown to like 5 seconds or something and in the trigger you can do stuff like get random integer to choose between spells for misha to cast, or you can ask for hp of the enemy or other attributes and if the hp is low maybe you cast a different spell...also you can use the frost armor to cast spells on misha or the hero if they are under attack. this is how i make the ai in the new map i'm making.
 
Status
Not open for further replies.
Top