Hi, I managed to remove a player from the leaderboard1 and add it to the leaderboard2, making it disappear from leaderboard1 automatically. However, when I try to put the player back to leaderboard1, it doesn't disappear automatically from leaderboard2. I have to show up the leaderboard2 again (I press a unit to make it appear) to make the player disappear, something that isn't necessary with leaderboard1.
When I press a button from a dialog, the player is removed from one leaderboard and added to another one. Since you can't have two leaderboards at the same time, there's a trigger that tries to remove the player from one and add it to another every 0.10 seconds.
When I press the button to remove the player from board1:
Thanks in advance
When I press a button from a dialog, the player is removed from one leaderboard and added to another one. Since you can't have two leaderboards at the same time, there's a trigger that tries to remove the player from one and add it to another every 0.10 seconds.
When I press the button to remove the player from board1:
-
Buton Pressed
-
Events
-
Conditions
-
Actions
-
-
Set ButtonPressed= (ButtonPressed+ 1)
-
Checking if the button that i want has been pressed
-
Events
-
-
Time - Every 0.10 seconds of game time
-
Conditions
-
-
ButtonPressed equal to 1
-
Actions
-
-
Leaderboard - Remove Player from Leaderboard1
-
Leaderboard - Add Player to Leaderboard2
-
Button to remove the player from leaderboard2 pressed
-
Events
-
Conditions
-
Actions
-
-
Set ButtonPressed= (ButtonPressed- 1)
-
Checking if the button that i want has been pressed
-
Events
-
-
Time - Every 0.10 seconds of game time
-
Conditions
-
-
ButtonPressed equal to 0
-
Actions
-
-
Leaderboard - Remove Player from Leaderboard2
-
Leaderboard - Add Player to Leaderboard1
Thanks in advance