sentrywiz
New Member
- Reaction score
- 25
Hi. I've been having troubles with these two triggers.
A region in map has 4 crates. When a crate dies, the unit that killed it has a X% chance to get an item. Then the crate respawns at that region after some random between time. All works well the first two times. But after two times, crates just quit respawning.
Here are the triggers:
And...
Where and what am I doing wrong? Besides using GUI
A region in map has 4 crates. When a crate dies, the unit that killed it has a X% chance to get an item. Then the crate respawns at that region after some random between time. All works well the first two times. But after two times, crates just quit respawning.
Here are the triggers:
Trigger:
- Crate Gives Item Random
- Events
- Destructible - A destructible within Bandits Lair <gen> dies
- Conditions
- (Destructible-type of (Dying destructible)) Equal to Crates
- Actions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- (Random real number between 1.00 and 100.00) Less than or equal to 50.00
- Then - Actions
- Item - Create (Random level 1 item-type) at (Position of (Dying destructible))
- Else - Actions
- If - Conditions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- Events
And...
Trigger:
- Respawn Crate
- Events
- Destructible - A destructible within Bandits Lair <gen> dies
- Conditions
- (Destructible-type of (Dying destructible)) Equal to Crates
- Actions
- Wait 5.00 seconds
- Destructible - Create a (Destructible-type of (Dying destructible)) at (Position of (Dying destructible)) facing (Random angle) with scale 1.00 and variation 1
- Events
Where and what am I doing wrong? Besides using GUI