HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

a question about dynamic triggers.

02-21-2009, 10:44 AM#1
Viikuna-
I need to know if someone kills my items, and I could maybe do it with periodict timer, item array and GetWidgetLife, but this method really sucks if there is loads of times.

I was thinking of using TriggerRegisterDeathEvent, which seems to be pretty good. This means I have to leak some events, because they cant be destroyed. This is not a problem, because there wont be so many items.

Anyways, this made wonder if it is safe to destroy triggers in this case, because, if Im not mistaken, the handle stack corruption only appears when you destroy a trigger which is just triggering.
Since it is a death event, and if items can only die once, it just might be.

What you guys think?