- Joined
- Jun 27, 2010
- Messages
- 2,743
-
Create obs Leaderboard
-
Events
-
Time - Elapsed game time is 1.00 seconds
-
-
Conditions
-
Actions
-
Leaderboard - Create a leaderboard for (All players) titled Observers:
-
Set ObsLeaderboard = (Last created leaderboard)
-
Leaderboard - Hide ObsLeaderboard
-
-
-
Obs Leaderboard
-
Events
-
Time - Every 5.00 seconds of game time
-
-
Conditions
-
Actions
-
Player Group - Pick every player in (All players) and do (Actions)
-
Loop - Actions
-
Set TempPlayer = (Picked player)
-
Custom script: if (IsPlayerObserver(udg_TempPlayer) == true) then
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(ObsLeaderboard contains TempPlayer) Equal to False
-
-
Then - Actions
-
Leaderboard - Add TempPlayer to ObsLeaderboard with label (Name of TempPlayer) and value (Player number of TempPlayer)
-
Custom script: if GetLocalPlayer() == udg_TempPlayer then
-
Leaderboard - Show ObsLeaderboard
-
Custom script: endif
-
-
Else - Actions
-
-
Custom script: endif
-
-
-
-
-
Observer Leaves
-
Events
-
Player - Player 1 (Red) leaves the game
-
Player - Player 2 (Blue) leaves the game
-
Player - Player 3 (Teal) leaves the game
-
Player - Player 4 (Purple) leaves the game
-
Player - Player 5 (Yellow) leaves the game
-
Player - Player 6 (Orange) leaves the game
-
Player - Player 7 (Green) leaves the game
-
Player - Player 8 (Pink) leaves the game
-
-
Conditions
-
Actions
-
Leaderboard - Remove (Triggering player) from ObsLeaderboard
-
-
Last edited: