Smilis
TH.net Regular
- Reaction score
- 7
I belive it should look like this:
Your code has:
not
And if you look closly you can see that in the first exemple the +1 is inside the [ and ], but in the second it is outside the [ and the ]
Trigger:
- Evolution
- Events
- Unit - A unit Dies
- Conditions
- Actions
- Set Kills[(Player number of (Owner of (Killing unit)))] = (Kills[(Player number of (Owner of (Killing unit)))] + 1)
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- Kills[(Player number of (Owner of (Killing unit)))] Equal to 10
- Then - Actions
- Set Kills[(Player number of (Owner of (Killing unit)))] = 0
- Unit - Create 1 Footman for Player 1 (Red) at (Center of (Playable map area)) facing Default building facing degrees
- Else - Actions
- If - Conditions
- Events
Your code has:
Trigger:
- Set Kills[(Player number of (Owner of (Killing unit)))] = Kills[((Player number of (Owner of (Killing unit))) + 1)]
not
Trigger:
- Set Kills[(Player number of (Owner of (Killing unit)))] = (Kills[(Player number of (Owner of (Killing unit)))] + 1)
And if you look closly you can see that in the first exemple the +1 is inside the [ and ], but in the second it is outside the [ and the ]