• 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 It Possible To Remve Event ?

Status
Not open for further replies.
Level 14
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