distance between units

b_ray210

Active Member
Reaction score
1
hey im looking for a way to set an integer variable to the distance between 2 units. is there a way to do this?
 

Nherwyziant

Be better than you were yesterday :D
Reaction score
96
Trigger:
  • Set Distance = (Distance between (Position of (Casting unit)) and (Position of (Target unit of ability being cast)))
 

Accname

2D-Graphics enthusiast
Reaction score
1,462
Trigger:
  • Set Distance = (Distance between (Position of (Casting unit)) and (Position of (Target unit of ability being cast)))

please keep in mind the distance is not an integer but a real. if you want it to be an integer you have to convert it.
 
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