• 🏆 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!

Make unit not run away

Status
Not open for further replies.
Level 7
Joined
Jan 11, 2022
Messages
108
It may be a dumb question and I overlooked that option but I can't find it in Object Editor. I want to make unit to keep chasing the attacker even when the attacker runs away throught the whole map.
Example:
You attack a boss, run away from the Boss Room and boss still chases you. Because now if I run away just about the distance of 500 it just resets and runs back
 
Level 7
Joined
Jan 11, 2022
Messages
108
The boss is neutral hostile


These behaviours are managed by certain gameplay constants. (At least for neutral hostile)

GuardDistance
MaxGuardDistance
GuardReturnTime

Set those values really high and it'll work.
Changing MaxGuardDistance did the trick, seems it doesn't need a trigger! Thank you!
 
Level 7
Joined
Jan 11, 2022
Messages
108
I know, but for some reason putting "Ignore Boss' Guard position" didn't do anything, might look into it later. I also changed game constants to values that don't make hostiles chase forever
 
Status
Not open for further replies.
Top