• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.
  • 💡 We're thrilled to announce that our upcoming texturing contest is in the works, and we're eager to hear your suggestions! Please take this opportunity to share your ideas in this theme discussion thread for the Texturing Contest #34!
  • 🏆 Hive's 7th HD Modeling Contest: Icecrown Creature is now open! The frozen wastes of Icecrown are home to some of Azeroth’s most terrifying and resilient creatures. For this contest, your challenge is to design and model a HD 3D monster that embodies the cold, undead, and sinister essence of Icecrown! 📅 Submissions close on April 13, 2025. Don't miss this opportunity to let your creativity shine! Enter now and show us your frozen masterpiece! 🔗 Click here to enter!

unit leaves playable map area question(s)

Status
Not open for further replies.

Dr Super Good

Spell Reviewer
Level 64
Joined
Jan 18, 2005
Messages
27,275
Does this event run when a unit is removed from the game?
Because there is no "unit" in that case? How can something that has already been removed trigger an event in a sensible way?

And does this event run when a unit dies?
No for normal units as the unit decays where it dies. For heroes it can trigger because after dissipate completes they are moved to the top left corner and hidden there.

Or it runs after the unit has decayed?
Same problem as with them being removed. How can something that does not exist trigger the event in a meaningful way?

StarCraft II solved this by eventually adding a "Unit is removed" event to the game after one of the patches which fires between being flagged for removal and the unit actually being removed. In Warcraft III there is no simple way to detect this as far as I am aware.
 
Status
Not open for further replies.
Top