Easy Question, Units within range

Glorn2

Slap n' Tickle
Reaction score
4
Using a simple, "Pick every unit within 1000 range of triggering unit" would this also pick the triggering unit?

I assume so, but would rather ask than test.
 

Bribe

vJass errors are legion
Reaction score
67
Just do "if Picked Unit is Not Equal to Triggering Unit" within the loop.
 

Laiev

Hey Listen!!
Reaction score
188
or use (Matching Unit) not equal to (Triggering Unit)

(in the same line of pick every bla bla)
 

Bribe

vJass errors are legion
Reaction score
67
And if you make the switch to JASS, "Picked Unit" becomes "GetEnumUnit()" and "Matching Unit" becomes "GetFilterUnit()". I'm saying this because I've answered this question for about half a dozen people now and I've only been scriptin' for a few months.
 
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