- Joined
- Jun 23, 2009
- Messages
- 297
I want to check whether if the player is on LAN or Single player, in order to destroy, or not, the leaderboard. Until nao i have this:
But when I test my map on Single Player, the leaderboard appears empty:
-
Start
-
Events
-
Time - Elapsed game time is 0.01545618789 seconds and a half
-
-
Conditions
-
Map Maker - Map maker is equal to (Craphter)
-
-
Actions
-
-------- ----- Leaderboards ----- --------
-
Leaderboard - Create a leaderboard for (All players) titled Kills
-
Leaderboard - Show (Last created leaderboard)
-
-------- ----- Ifs ----- --------
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Player 1 (Red) controller) Equal to User
-
(Player 1 (Red) slot status) Equal to Is playing
-
-
Then - Actions
-
Player - Set Player 1 (Red) Current gold to 100
-
Player Group - Add Player 1 (Red) to JugadoresConectados
-
-
-
-------- Im from Argentina, "JugadoresConectados" means Online Players" --------
-
Else - Actions
-
Set JC = (JC - 1)
-
-
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Player 2 (Blue) controller) Equal to User
-
(Player 2 (Blue) slot status) Equal to Is playing
-
-
Then - Actions
-
Player - Set Player 2 (Blue) Current gold to 10
-
Player Group - Add Player 2 (Blue) to JugadoresConectados
-
-
Else - Actions
-
Set JC = (JC - 1)
-
-
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Player 3 (Teal) controller) Equal to User
-
(Player 3 (Teal) slot status) Equal to Is playing
-
-
Then - Actions
-
Player - Set Player 3 (Teal) Current gold to 10
-
Player Group - Add Player 3 (Teal) to JugadoresConectados
-
-
Else - Actions
-
Set JC = (JC - 1)
-
-
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Player 4 (Purple) controller) Equal to User
-
(Player 4 (Purple) slot status) Equal to Is playing
-
-
Then - Actions
-
Player - Set Player 4 (Purple) Current gold to 10
-
Player Group - Add Player 4 (Purple) to JugadoresConectados
-
-
Else - Actions
-
Set JC = (JC - 1)
-
-
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Player 5 (Yellow) controller) Equal to User
-
(Player 5 (Yellow) slot status) Equal to Is playing
-
-
Then - Actions
-
Player - Set Player 5 (Yellow) Current gold to 10
-
Player Group - Add Player 5 (Yellow) to JugadoresConectados
-
-
Else - Actions
-
Set JC = (JC - 1)
-
-
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Player 6 (Orange) controller) Equal to User
-
(Player 6 (Orange) slot status) Equal to Is playing
-
-
Then - Actions
-
Player - Set Player 6 (Orange) Current gold to 10
-
Player Group - Add Player 6 (Orange) to JugadoresConectados
-
-
Else - Actions
-
Set JC = (JC - 1)
-
-
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Player 7 (Green) controller) Equal to User
-
(Player 7 (Green) slot status) Equal to Is playing
-
-
Then - Actions
-
Player - Set Player 7 (Green) Current gold to 10
-
Player Group - Add Player 7 (Green) to JugadoresConectados
-
-
Else - Actions
-
Set JC = (JC - 1)
-
-
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Player 8 (Pink) controller) Equal to User
-
(Player 8 (Pink) slot status) Equal to Is playing
-
-
Then - Actions
-
Player - Set Player 8 (Pink) Current gold to 10
-
Player Group - Add Player 8 (Pink) to JugadoresConectados
-
-
Else - Actions
-
Set JC = (JC - 1)
-
-
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Player 9 (Gray) controller) Equal to User
-
(Player 9 (Gray) slot status) Equal to Is playing
-
-
Then - Actions
-
Player - Set Player 9 (Gray) Current gold to 10
-
Player Group - Add Player 9 (Gray) to JugadoresConectados
-
-
Else - Actions
-
Set JC = (JC - 1)
-
-
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Player 10 (Light Blue) controller) Equal to User
-
(Player 10 (Light Blue) slot status) Equal to Is playing
-
-
Then - Actions
-
Player - Set Player 10 (Light Blue) Current gold to 10
-
Player Group - Add Player 10 (Light Blue) to JugadoresConectados
-
-
Else - Actions
-
Set JC = (JC - 1)
-
-
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Player 11 (Dark Green) controller) Equal to User
-
(Player 11 (Dark Green) slot status) Equal to Is playing
-
-
Then - Actions
-
Player - Set Player 11 (Dark Green) Current gold to 10
-
Player Group - Add Player 11 (Dark Green) to JugadoresConectados
-
-
Else - Actions
-
Set JC = (JC - 1)
-
-
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Player 12 (Brown) controller) Equal to User
-
(Player 12 (Brown) slot status) Equal to Is playing
-
-
Then - Actions
-
Player - Set Player 12 (Brown) Current gold to 10
-
Player Group - Add Player 12 (Brown) to JugadoresConectados
-
-
Else - Actions
-
Set JC = (JC - 1)
-
-
-
If (JC Less than or equal to 0) then do (Leaderboard - Destroy the leaderboard else
-
-
But when I test my map on Single Player, the leaderboard appears empty:
