Order for unit reaching a point

ninjaalamode

New Member
Reaction score
0
I know there's the "smart" order for when you right click a point, but is there an order for when the unit stops at the point you right-clicked? Thanks in advance.
 

jwallstone

New Member
Reaction score
33
I'm pretty sure it's just null. (Not "", which is different).

I just test if the orderstring == "stop" or == null, and that collects all the units that aren't doing anything.
 

ninjaalamode

New Member
Reaction score
0
Okay, well, that might work for me, but the way I have my trigger set up might not allow it, so I have another question. Does the unit stopping at the right clicked point COUNT as an ORDER, if not, how would I be able to set up a trigger that is started by that?
 

Squirel

New Member
Reaction score
13
There is a condition that checks the current order of the unit. You know how even if your unit is just sitting still in game the "stop" icon is outlined in green? That means the current order is "stop".
 
Reaction score
341
Run a timer checking a units position and order. If his position is at your point, and his order is stand then you know your unit stopped and the point.

You guys gotta get some avatars -_-
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Staff online

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top