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

[Solved] Detect item dying

Status
Not open for further replies.
Level 8
Joined
Oct 4, 2016
Messages
210
Bear in mind that using that leaks an event. You need to either dynamically destroy triggers for multiple items, or create one trigger per item, then destroy it, either will work. I actually forgot that TriggerRegisterDeathEvent works for widgets.
Yeah, i destroy the trigger, every X items removed, create trigger and add items stored in a list.
Thanks :).
 
Status
Not open for further replies.
Top