Remove Idle items

Status
Not open for further replies.
Level 10
Joined
Apr 3, 2006
Messages
535
Is it possible via triggers to remove items lieing on the ground after say 30 secs. the only way i can think of doing this is every 30 secsonds of game time run a trigger, but what happens if the items is dropped 2 seconds before the 30 second cut off and disappears instantly. Also if i use the remove items on playable map area will this effect items in heroes backpack. The
 
One politically incorrect way to do it would be to use a timer for each item. Another politically incorrect (but less) way would be to have a periodic trigger every second that increases an integer for each item until it reaches 30, then destroy it.
 
Actually, there are events that do track items being picked up and dropped:

Unit acquires an item
Unit loses an item (check to see if the item is owned, it's a Boolean comparison)
 
Status
Not open for further replies.
Back
Top