Unit die in a X range of unit ?

hgkjfhfdsj

Active Member
Reaction score
55
[ljass]IsUnitInRange (whichUnit, otherUnit, distance)[/ljass]

not sure if theres a gui for that, otherwise
Trigger:
  • (Distance between (Position of <whichUnit>) and <otherUnit>)) Less than or equal to X

note the leak
 

Moridin

Snow Leopard
Reaction score
144
You need to use the event:

Unit - A unit dies.

...and then in the actions, set points to be the positions of both your units and check the distance between them. If you do it in the conditions part, you can't help but leak 2 points.
 

Lifee

New Member
Reaction score
46
[ljass]IsUnitInRange (whichUnit, otherUnit, distance)[/ljass]

not sure if theres a gui for that, otherwise
Trigger:
  • (Distance between (Position of <whichUnit>) and <otherUnit>)) Less than or equal to X

note the leak

Can you show me where did u find that ?
 

Moridin

Snow Leopard
Reaction score
144
I actually had a screenshot for exactly this taken a while back :D. Here:

distancebetweenpoints.jpg
 
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