Distance between Points and Waits

Naga'sShadow

Ultra Cool Member
Reaction score
49
As the tittle sugests I'm having a problem with a wait for condition action. The condition is that the distance between a dummy unit (with its own variable) and the target unit is less than or equal to 100 checking every .27 seconds. As the distance formula is only for distance between points the wait asks for the distance between the points of the positions of the units. And that's as far as the trigger gets. I thought that the position would read the units current position at each separate check of the wait condition but so far the unit dummy unit moves to where it was ordered and the trigger hangs in the wait even after the dummy unit is touching its target. Am I don't something wrong or is there another condition I can use to get the same effect?
 

Chao

Setting sail for fail in the sea of lame.
Reaction score
63
Man, that's a mouthful!

I suppose this is a tight corridor - a distance of 100 is VERY tiny :)
I think you might be able to achieve the same effect with "Unit comes within Range" as an event.
Alternatively, you might even consider just creating a region, as they're not too picky-choosy.
 
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