- Joined
- May 27, 2007
- Messages
- 126
Hello,
I would like to get straight to business, I tried alot and alot but I just couldn't find a way to make the following:
A trigger that removes every item in the entire map X seconds after it was created. This trigger can't use the "last created item" function, cause that would mean that if another item is dropped in that X seconds, that new item will be removed and not the old one.
So basically every single created item that is not picked up (and thus lying there in the landscape) must be destroyed, if it isn't owned, X seconds AFTER it has been created! I want this, cause I got this JASS system in my map that works with itempools and drops items according to chances everytime you kill a creep of player 7. But the problem is, that when people dont pick the items up, the items remain there forever... UNLESS you regulate the system!
Hope someone can tell me a good way, cause I am lost out of ideas, I would very much appreciate it if you could make a picture of the trigger in this topic.
Thanks sincerely,
Syntic
I would like to get straight to business, I tried alot and alot but I just couldn't find a way to make the following:
A trigger that removes every item in the entire map X seconds after it was created. This trigger can't use the "last created item" function, cause that would mean that if another item is dropped in that X seconds, that new item will be removed and not the old one.
So basically every single created item that is not picked up (and thus lying there in the landscape) must be destroyed, if it isn't owned, X seconds AFTER it has been created! I want this, cause I got this JASS system in my map that works with itempools and drops items according to chances everytime you kill a creep of player 7. But the problem is, that when people dont pick the items up, the items remain there forever... UNLESS you regulate the system!
Hope someone can tell me a good way, cause I am lost out of ideas, I would very much appreciate it if you could make a picture of the trigger in this topic.
Thanks sincerely,
Syntic