- Joined
- May 21, 2009
- Messages
- 289
I'm Using the following trigger in my map, but I need the item to dissapear after a set amount of time (Example: 120 seconds (2 minutes)), but when I add "wait- 120 seconds" and then "remove- last created item" items that are created eventually disappear as soon as they are created!
Any ideas?
Any ideas?
-
Item Drop low levels
-
Events
- Map initialization
- Conditions
-
Actions
- Set itemdrop[1] = (1) Healing Vial
- Set itemdrop[2] = (1) Mana Vial
- Set itemdrop[3] = Wooden Sword
- Set itemdrop[4] = Wooden Shield
-
Events
-
Low Levels
-
Events
- Unit - A unit owned by Neutral Hostile Dies
-
Conditions
- (Level of (Dying unit)) Less than or equal to 6
-
Actions
- Set point = (Position of (Dying unit))
- Item - Create itemdrop[(Random integer number between 1 and 10)] at point
- Custom script: call RemoveLocation(udg_point)
- Item - Set the custom value of (Last created item) to 0
-
Events