• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

how to stop units from running away?

Status
Not open for further replies.
Level 3
Joined
Mar 12, 2008
Messages
35
Hello!

I'm currently developing a map called Pyregrass together with a friend... It's very different from the standard W3 gameplay, and resambles Diablo or Neverwinter more than warcraft... I've already did a couple of posts about it on the forums, so if you're interested in knowing more, do a search or check out http://www.aatk-design.com.

I need a little bit of help. In the map, the player controls a hero who does not have any attacks (besides abilities). So by default, when the hero gets attacked, he runs away a little bit. Much like a shade unit would. This breaks my gameplay, as it interupts ability casting.

I need a way of making the hero not run away when attacked. Is there some way of turnig off this AI script, or maybe to make it with triggers/jass?

Thanks for reading ^^
 
Status
Not open for further replies.
Top