Unit - A Unit Comes within X Range of Unit

averes

New Member
Reaction score
17
Using the event, "Unit - A Unit comes within X range of unit" what is the event response that returns what unit it came within X range of?
 

Larcenist

REP: Respect, Envy, Prosperity?
Reaction score
211
Edit: Nvm, you'll have to store it in a variable and refer to that variable.
 

averes

New Member
Reaction score
17
And if I'm having hundreds of units on the map all being used as this event? IE: To make it a generic unit event, like you can do with A unit takes damage. I wouldnt be able to differentiate between which unit it came near to?
 

UndeadDragon

Super Moderator
Reaction score
447
I think Triggering Unit works with this event, but you can't get one specific unit that comes near.
 

AceHart

Your Friendly Neighborhood Admin
Reaction score
1,495
With any luck, or, rather, depending on what exactly you are doing here,
it might be possible to do it the other way around.

Example, in a map where players control only one Hero, and you have plenty of "in range" units,
put the range event on the Heroes, one trigger per Hero.
 

averes

New Member
Reaction score
17
With any luck, or, rather, depending on what exactly you are doing here,
it might be possible to do it the other way around.

Example, in a map where players control only one Hero, and you have plenty of "in range" units,
put the range event on the Heroes, one trigger per Hero.

I didn't think of that, that's perfect! Thanks!
 
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