• 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.

Prevent a unit from running

Status
Not open for further replies.
Level 6
Joined
Feb 5, 2012
Messages
1,685
Damn i forgot...

How do i prevent a unit from running away when attack?.. (this happen if the unit can't attack)..

I remember a prop window.. but can you post some screenshot where do i find it in the WE?.. i can't find it..

Also how much?..


I found a propulsion window... set to 0.00 and the unit can't move.. i set to 1.00 the unit ran away when attacked..


So i am currently confused..
 
Level 4
Joined
Aug 7, 2010
Messages
77
Hello there.
You can set the behavior of your AI by using the AI editor. Under the first page of AI editor, there's an option called "Unit flee" and "Hero flee". You just have to uncheck those two.

No idea if it helps. Just offering my suggestion. :x
 
Status
Not open for further replies.
Top