icepig01
Member
- Reaction score
- 4
I have this trigger about, which player get to kill 100 mobs and so on..
but it failed and did not work.
Can you guys help me fix this.
My 'Hero_Kill' variable is an integer size 12.
but it failed and did not work.
Can you guys help me fix this.
My 'Hero_Kill' variable is an integer size 12.
Trigger:
- Hero Kill Check
- Events
- Unit - A unit Dies
- Conditions
- Or - Any (Conditions) are true
- Conditions
- (Owner of (Triggering unit)) Equal to Player 2 (Blue)
- (Owner of (Triggering unit)) Equal to Player 3 (Teal)
- (Owner of (Triggering unit)) Equal to Player 4 (Purple)
- (Owner of (Triggering unit)) Equal to Player 5 (Yellow)
- (Owner of (Triggering unit)) Equal to Player 6 (Orange)
- (Owner of (Triggering unit)) Equal to Player 7 (Green)
- (Owner of (Triggering unit)) Equal to Player 8 (Pink)
- (Owner of (Triggering unit)) Equal to Player 9 (Gray)
- Conditions
- Or - Any (Conditions) are true
- Actions
- Set Hero_Kill[(Player number of (Owner of (Triggering unit)))] = Hero_Kill[((Player number of (Owner of (Triggering unit))) + 1)]
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- Hero_Kill[(Player number of (Owner of (Triggering unit)))] Equal to 100
- Then - Actions
- Game - Display to (All players) for 30.00 seconds the text: ((Name of (Owner of (Triggering unit))) + has kill 100 mobs. Say 'Congrazt' to him/she.)
- Player - Add 250 to (Owner of (Triggering unit)) Current gold
- Else - Actions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- Hero_Kill[(Player number of (Owner of (Triggering unit)))] Equal to 150
- Then - Actions
- Game - Display to (All players) for 30.00 seconds the text: ((Name of (Owner of (Triggering unit))) + has kill 100 mobs. Say 'Congrazt' to him/she.)
- Player - Add 250 to (Owner of (Triggering unit)) Current gold
- Else - Actions
- If - Conditions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- Events