• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!

[Solved] Unit within range

Status
Not open for further replies.
Level 4
Joined
Dec 14, 2009
Messages
48
Hi everyone,

I have a problem with this specific event - Unit-Unit Within Range. How is it possible that I cannot use a Unit variable here?

I have a unit (player`s hero) which is created at the beginnign of the map (loaded from cache) and then stored in a Unit variable.

Now I need to make a trigger which will execute whenever some unit reaches this hero. But I can`t do this since I can not use the variable in the event mentioned.

Am I missing something? Or is there some other way I can achieve this?

Thanks in advance.
 
Status
Not open for further replies.
Top