Moderator
M
Moderator
17 August 2012
Bribe: This is redundant. We already have GUI Item Cleanup which does everything this does but with only 1 trigger.
http://www.hiveworkshop.com/forums/spells-569/item-cleanup-1-2-a-201057/
I will reject this now. Feel free to PM me if you disagree.
22:51, 15th Aug 2012
Magtheridon96: Okay, I don't care about the title now.
This is a pretty weird system.
I mean, I could just drop an item on the ground, and it's gone 5 seconds later ._.
No matter, first of all, it would be beneficial if you just set the life of the items stored in the array to 0.41 and remove instead of enumerating over all items on the map and THEN doing that.
What you could do is register a "Unit Acquires Item" event and destroy the instance instead. (If it exists)
Bribe: This is redundant. We already have GUI Item Cleanup which does everything this does but with only 1 trigger.
http://www.hiveworkshop.com/forums/spells-569/item-cleanup-1-2-a-201057/
I will reject this now. Feel free to PM me if you disagree.
22:51, 15th Aug 2012
Magtheridon96: Okay, I don't care about the title now.
This is a pretty weird system.
I mean, I could just drop an item on the ground, and it's gone 5 seconds later ._.
No matter, first of all, it would be beneficial if you just set the life of the items stored in the array to 0.41 and remove instead of enumerating over all items on the map and THEN doing that.
What you could do is register a "Unit Acquires Item" event and destroy the instance instead. (If it exists)