• 🏆 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!

Is It Possible To Remve Event ?

Status
Not open for further replies.
Level 13
Joined
Mar 4, 2009
Messages
1,156
In one of my triggers i will have to add Specific-event unit takes damage for about 1000 times....

is it possible to remove added event when you want ?

would 1000 events make lags/leak ?
(trigger would run every time unit is takes damage but in that trigger there would be 1000 events,(event for every unit))

its because WE is so stupid,there is no generic event unit takes damage :(

would 1000 specific unit event do problems ?
 
unit takes damage leaks in GUI, string handle I think

Strings are not handles, though I'm pretty sure every string leaks and their impossible to fix.

Though they are stored in a table and re-used.

To the OP, you cannot remove events from a trigger without destroying the trigger.

Try using a damage detection system if you're not sure.
 
Status
Not open for further replies.
Top