Creep Guard Position problem

Builder Bob

Live free or don't
Reaction score
249
Anyone know how the following functions related to creep guard position actually work?

JASS:
RecycleGuardPosition(unit whichUnit)
RemoveGuardPosition(unit whichUnit)
SetUnitCreepGuard(unit whichUnit, boolean creepGuard)


I am trying to be able to issue patrol orders to some of the PLAYER_NEUTRAL_AGGRESSIVE's creeps, and don't want them to turn back to their initial guard position. So far none of the above commands seem to change anything about the guard position they have, so they always turn back when they get too far from their starting position.

I don't want to use other neutral players for these creeps since those players are used for other things.
 

ShadowTek

New Member
Reaction score
23
Neural hostile units do not seem to obey commands very well.

I think it would be best to have the unit owned by a player 1 - 12 slot.
 

Vexorian

Why no custom sig?
Reaction score
187
There are things in gameplay constants that you can change to disable creeps' comeback behavior.

Something like creep guard return distance and creep guard return delay, something like that.
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top