• 🏆 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!
  • 🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece! 🔗 Click here to enter!

Is there such a thing as Remove Event

Status
Not open for further replies.
Level 11
Joined
Aug 24, 2008
Messages
106
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