- Joined
- Jul 17, 2012
- Messages
- 26
I'm trying to make an inventory item respawn on the map here's what I have:
TRIGGER
Unit - Any Unit Picks Up Item (Inventory) - Medkit [45.55, 62.53]
CONDITION
General - Wait 600.0 Game Time seconds
ACTION
Unit - Create 1 Item (Inventory) - Medkit for player 0 at Medkit 1 facing (Map Center offset by (0.0, 0.0)) (No Options)
The problem is the Trigger. I want the medkit to respawn 10m after EVERY time it's picked up (I have 2 medkits in different locations).
I thought of just having it as a periodic event (every 10m of gametime have one spawn in each location), but I don't want them to pile up if they don't get used. Is there a condition that will prevent one from spawning if there is still one there?
TRIGGER
Unit - Any Unit Picks Up Item (Inventory) - Medkit [45.55, 62.53]
CONDITION
General - Wait 600.0 Game Time seconds
ACTION
Unit - Create 1 Item (Inventory) - Medkit for player 0 at Medkit 1 facing (Map Center offset by (0.0, 0.0)) (No Options)
The problem is the Trigger. I want the medkit to respawn 10m after EVERY time it's picked up (I have 2 medkits in different locations).
I thought of just having it as a periodic event (every 10m of gametime have one spawn in each location), but I don't want them to pile up if they don't get used. Is there a condition that will prevent one from spawning if there is still one there?