HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Follow Unit

12-31-2011, 12:39 AM#1
Tastingo
So I'm having a problem with a Neutral Passive owned unit following a player owned unit. I order the Neutral Passive unit to follow the player's unit and after awhile it returns back to its spot. Is there a flag I can set to prevent it from returning to its original location?
12-31-2011, 12:48 PM#2
moyack
call RemoveUnitGuardPosition(your unit) or something like that.

Please try that and tell me if it works :)
12-31-2011, 05:27 PM#3
Tastingo
I tried both of these functions RemoveAllGuardPositions and RemoveGuardPosition. Neither worked :(. Any idea what else I could do?
01-01-2012, 07:48 PM#4
PurgeandFire111
Try looking for something along those lines in the gameplay constants. That may fix it.

You can try looking at Zwieb's threat system because I think it disables the return spot. (or it tells you what gameplay constant to change)
01-02-2012, 05:16 AM#5
Tastingo
Thank you, it was in the constants :).