- Joined
- Nov 4, 2006
- Messages
- 266
Having problems with making a leaderboard, and 2 teams that are seperated. On the top(not title), it says Team 1 and after the last player in team 1 is Team 2. Heres what i did.
- Events
- Time - Elapsed Game Time 5.00 seconds
- Conditions
- Actions
- Leaderboard - Create a leaderboard for (All Players) titled Lives
- Leaderboard - Show (last created leaderboard)
- Leaderboard - Add Player 1 to (last created leaderboard) and value Lives Leaderboard - Add Player 2 to (last created leaderboard) and value Lives
- Leaderboard - Add Player 3 to (last created leaderboard) and value Lives Leaderboard - Add Player 4 to (last created leaderboard) and value Lives Leaderboard - Add Player 5 to (last created leaderboard) and value Lives Leaderboard - Add Player 6 to (last created leaderboard) and value Lives Leaderboard - Add Player 7 to (last created leaderboard) and value Lives Leaderboard - Add Player 8 to (last created leaderboard) and value Lives Leaderboard - Add Player 9 to (last created leaderboard) and value Lives Leaderboard - Add Player 10 to (last created leaderboard) and value Lives Leaderboard - Add Player 11 to (last created leaderboard) and value Lives Leaderboard - Add Player 12 to (last created leaderboard) and value Lives
- Events
- Unit - A unit dies
- Conditions
- Actions
- If all conditions are true, then do (Then Actions) else do (Else Actions)
- Loop Actions
- Conditions
- ((Triggering Unit) belongs to an ally of Player 1 (Red)) equal to True
- ((Triggering Unit) is A Hero) equal to True
- Then Actions
- Leaderboard - Change the value of (Owner of (Triggering Unit)) in (Last Created Leaderboard) to (Lives - 1)
- Game - Display to (All Players) the text: You better not die again! You just lost a life!
- Else Actions
- Do Nothing
- If all conditions are true, then do (Then Actions) else do (Else Actions)
- Loop Actions
- Conditions
- ((Triggering Unit) belongs to an ally of Player 7 (Green)) equal to True
- ((Triggering Unit) is A Hero) equal to True
- Then Actions
- Leaderboard - Change the value of (Owner of (Triggering Unit)) in (Last Created Leaderboard) to (Lives - 1)
- Game - Display to (All Players) the text: You better not die again! You just lost a life!
- Else Actions
- Do Nothing