Warcraft III resources & community, 2003–2006 · archived

Variable for Unit within XX of unit?

4 posts
#1

Variable for Unit within XX of unit?

What variables work for the event Unit within range of Unit? Because the only i have are generated units on the map. Can a variable be used there ?
#2
What do you mean? The variable type? I guess a Unit variable??? Like "Unit comes within 120 range of [Unit Variable]"
#3
i think Triggering Unit refers to the "unit" coming in range

and for Unit, since it has to be a gg_unit variable anyways, its not hard to figure that out :shock:
#4
So there's no way to set a unit through a variable using the "unit within range" event? The unit has to be gg_unit? And if that's the case, if that unit dies and is replaced with the same unit type will the trigger no longer apply to that unit since the gen number changes?