How to order a unit to cast a spell when it reaches a destination

Roku

New Member
Reaction score
3
Well the thing i am trying to do is to create a wisp, order it to move to a position of a unit, and when it reaches that point, cast tranquility. Well the problem is how do i check if my wisp reached the destination point, so i can issue further orders. Need help!
 

Renendaru

(Evol)ution is nothing without love.
Reaction score
309
Say, "Unit enters region".

Edit: OR you can say, "Unit comes within range of unit".
 

quraji

zap
Reaction score
144
I believe there is an event like "Unit Enters Range of Unit" or some such thing...
See if that works for you.

If not, have a periodic trigger check the distance between the two units. If it is as close as you want, start the tranquility.

edit: darn i gotz beated
 

Roku

New Member
Reaction score
3
I want to check if my unit reaches a certain point, which varies every time i create a new unit and execute the trigger. I am not talking about entering a region, i am talking about reaching a point, which is different every time i create a new wisp.

Thanks Azylaminaz for you your suggestion, it worked :p +rep!
 
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