• 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.

Is there such a thing as Remove Event

Status
Not open for further replies.
I have always seen add event in actions, but I was wondering, is there such a thing as remove event? or to clear trigger events? Its just out curiosity. If there is though, could you also show me where that is, or the custom script for it? This could be usefull. Too bad you couldnt make a hashtable for the events to a trigger and add and remove them for it :p.
 
Basically Destroying triggers can result in a major handle allocation/deallocation bug and thus cause a fatal game error (crash). The exact cause is not certain but a lot of map crashes have been attributed to this.

If the trigger is destroyed, are the event handles destroyed, too? There are a lot of loopholes in Blizzard's programing, so this seems to me like events will not deallocate.

Even more slick, does anyone know the best way to check whether handles are being recycled?
 
Status
Not open for further replies.
Top