• 🏆 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!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

Detect unit event

Status
Not open for further replies.
Hello friends ^^

So.. if I have two or more events like "Unit - A Unit Comes Within Range", can I detect what unit the Triggering Unit is approaching (the unit used in the event)? So I can kill/remove it?

If I use only one event I know it of course.. the problem is that I did the trigger in JASS and the unit is not "real", it's GetSummonedUnit.

For now I'm using Mine - Exploding to kill the unit with the same range as the trigger, but I think it may be buggy and it makes the unit invisible...

Would like any suggestion ^^
Already thanks
Hossomi
 
Status
Not open for further replies.
Top