HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Question about creep behavior

04-07-2006, 03:55 PM#1
The_AwaKening
I know about changing the game constants to stop creeps from returning to their locations, but I need them to do both.

I have some preplaced creeps in the map I want to stay at their posts, but I am also using a few random ones in my troop spawning triggers. I thought that by changing their race to human in the object editor and then having them controlled by another player rather than player neutral hostile would do it, but apparently not.

Do I need to trigger the preplaced creeps to return and then change my game constant so that the spawned creeps don't return?
04-07-2006, 04:15 PM#2
Earth-Fury
The neutral players have some issues with _not_ returning to their guard posts. You could try making only specific creeps ignore their camp locations, but i do beleave this has its issues. (may be wrong tho x)
04-07-2006, 04:44 PM#3
The_AwaKening
IC, so I should just throw this line in after they spawn.

call RemoveGuardPosition(GetLastCreatedUnit())

Let me know if this is the wrong command. Thanks for the suggestion.

--edit
You are right about them having odd behavior. This command definitely helped so that they aren't returning to base, but now they seem to just stop before they make it all the way to their location via issued order from troop spawn. Sometimes they make it all the way.
04-07-2006, 05:47 PM#4
Earth-Fury
Could you not use a player slot for creeps? That command only works oddly with neutral players... =\
04-07-2006, 09:08 PM#5
The_AwaKening
I've already used 12 player slots =/ . Thanks for all the help.