You could do it on a reoccuring timer that issues a stop order to the unit every 0.5 seconds or whatever. Although that might be a bit OTT, I'm sure someone else will give you a much more simple solution.
ETA:
I just tested it, even with the timer on 0.1 seconds he still jitters a bit. If I set it to 0.01 it works perfect, the unit stands completely still no matter what... thing is your then running a trigger 100 times a second lol
As I say, I'm sure someone else knows a better way.
Change the data field response for the unit to nothing. The field is set to acquire as default for almost all units that can attack, acquire makes the unit attack if possible otherwise it will run away.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
I set my unit to passive so that he does not auto attack but he runs away when attacked! Can i fix this and how?
You could do it on a reoccuring timer that issues a stop order to the unit every 0.5 seconds or whatever. Although that might be a bit OTT, I'm sure someone else will give you a much more simple solution.
ETA:
I just tested it, even with the timer on 0.1 seconds he still jitters a bit. If I set it to 0.01 it works perfect, the unit stands completely still no matter what... thing is your then running a trigger 100 times a second lol As I say, I'm sure someone else knows a better way.
@HappyWhaleshark: Go
Change the data field response for the unit to nothing. The field is set to acquire as default for almost all units that can attack, acquire makes the unit attack if possible otherwise it will run away.