Another Leaderboard problem..

Status
Not open for further replies.
Level 3
Joined
Dec 22, 2007
Messages
28
Hey

I don't know how to make the Trigger(s) for the following Leaderboard:

Team 1:
If a player (from player 2 to 6) kills an unit of player 7, then it should add 10 points to the value of the owner of the killing unit and to the value of player 1.
The same problem with Hero kills and Team 2.

Means:
The value from player 2-6 should be added to the value of player 1 and the value of player 8-12 should be added to the value of player 7.

Points for normal unit kill: 10
Points for Hero kill: 100


I hope you can help me (I only found the trigger to add points to the value of ONE player)

ty ^^



Simi
 
Level 21
Joined
Aug 21, 2005
Messages
3,699
  • Events
    • Unit - a unit dies
  • Conditions
  • Actions
    • If all conditions are true then ...
      • If - conditions
        • Owner of killing unit is an ally of player 1 (boolean)
      • Then - actions
        • If dying unit is a hero (boolean) then do: add 100 points to Player 1's score else do Add 10 points to player 1's score
      • Else - actions
      • If dying unit is a hero (boolean) then do: add 100 points to Player 7's score else do Add 10 points to player 7's score
 
Status
Not open for further replies.
Top