hortononon
"I give em the hip then I take it away"-Jim Thorpe
- Reaction score
- 29
im tryin to make a trigger so when player1red kills a unit his value on the leaderboard increases by one...
Leaderboard - Change the value for (Owner of (Killing unit)) in <Some Leaderboard> to (<Some variable that should be tracking kills for each player> + 1)
<Some variable that should be tracking kills for each player>
Kills
Events
Unit - A unit Dies
Conditions
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Owner of (Dying unit)) Equal to Player 12 (Brown)
Then - Actions
Set Kills[(Player number of (Owner of (Killing unit)))] = (Kills[(Player number of (Owner of (Killing unit)))] + 1)
Leaderboard - Change the value for (Owner of (Killing Unit)) in Leaderboard to Kills[(Player Number of (Owner of (Killing Unit)))]
Else - Actions