- Joined
- Jun 27, 2011
- Messages
- 1,864
I have a problem with a trigger, why this doesn't work?
Btw, the dummy unit have an inventory.
-
Chest Items Init
-
Events
- Time - Elapsed game time is 0.00 seconds
- Conditions
-
Actions
- Set Temp_Point = (Position of Chest 0008 <gen>)
- Item - Create (Random level 1 Permanent item-type) at Temp_Point
- Unit - Create 1 Dummy for Neutral Passive at Temp_Point facing Default building facing degrees
- Unit - Order (Last created unit) to give (Last created item) to Chest 0008 <gen>
- Unit - Add a 3.00 second Generic expiration timer to (Last created unit)
- Custom script: call RemoveLocation( udg_Temp_Point )
- -------- ------- --------
- Set Temp_Point = (Position of Chest 0008 <gen>)
- Item - Create (Random level 1 Artifact item-type) at Temp_Point
- Unit - Create 1 Dummy for Neutral Passive at Temp_Point facing Default building facing degrees
- Unit - Order (Last created unit) to give (Last created item) to Chest 0008 <gen>
- Unit - Add a 3.00 second Generic expiration timer to (Last created unit)
- Custom script: call RemoveLocation( udg_Temp_Point )
- -------- ------- --------
- Set Temp_Point = (Position of Chest 0008 <gen>)
- Item - Create (Random level 1 Campaign item-type) at Temp_Point
- Unit - Create 1 Dummy for Neutral Passive at Temp_Point facing Default building facing degrees
- Unit - Order (Last created unit) to give (Last created item) to Chest 0008 <gen>
- Unit - Add a 3.00 second Generic expiration timer to (Last created unit)
- Custom script: call RemoveLocation( udg_Temp_Point )
-
Events