This site works best with JavaScript enabled. Please enable JavaScript to get the best experience from this site.
I'm wondering how to update a leader board every time my marine attacks.
For example, when my marine attacks, the variable integer "Bullets" gets -1. And how do I make the leaderboard update every time that occurs?
Events
Timer - Elapsed time is 0.01 Game Time seconds
Local Variables
Conditions
Actions
Leaderboard - Create a leaderboard with 3 columns and 2 rows, with the name "Statistics", and using (100%, 100%, 100%) color.
Variable - Set LeaderboardPlayer[1] = (Last created leaderboard)
Leaderboard - Turn (Last created leaderboard) minimize button On for (All players)
Leaderboard - Set (Last created leaderboard) item text at column 1 and row 1 to "ID"
Leaderboard - Set (Last created leaderboard) item text at column 2 and row 1 to "Clips"
Leaderboard - Set (Last created leaderboard) item text at column 3 and row 1 to "Bullets in Clip"
Leaderboard - Set (Last created leaderboard) item text at column 1 and row 2 to (Name of player 1)
Leaderboard - Set (Last created leaderboard) item text at column 2 and row 2 to (Text(ClipsAmmo[1]))
Leaderboard - Set (Last created leaderboard) item text at column 3 and row 2 to (Text(MagazineAmmo[1]))
Variable - Set LeaderBoardBulletsInClip[1] = (Last created leaderboard)
Leaderboard - Show all leaderboards for (All players)
Thank you in advance.
I'm wondering how to update a leader board every time my marine attacks.
For example, when my marine attacks, the variable integer "Bullets" gets -1. And how do I make the leaderboard update every time that occurs?
Events
Timer - Elapsed time is 0.01 Game Time seconds
Local Variables
Conditions
Actions
Leaderboard - Create a leaderboard with 3 columns and 2 rows, with the name "Statistics", and using (100%, 100%, 100%) color.
Variable - Set LeaderboardPlayer[1] = (Last created leaderboard)
Leaderboard - Turn (Last created leaderboard) minimize button On for (All players)
Leaderboard - Set (Last created leaderboard) item text at column 1 and row 1 to "ID"
Leaderboard - Set (Last created leaderboard) item text at column 2 and row 1 to "Clips"
Leaderboard - Set (Last created leaderboard) item text at column 3 and row 1 to "Bullets in Clip"
Leaderboard - Set (Last created leaderboard) item text at column 1 and row 2 to (Name of player 1)
Leaderboard - Set (Last created leaderboard) item text at column 2 and row 2 to (Text(ClipsAmmo[1]))
Leaderboard - Set (Last created leaderboard) item text at column 3 and row 2 to (Text(MagazineAmmo[1]))
Variable - Set LeaderBoardBulletsInClip[1] = (Last created leaderboard)
Leaderboard - Show all leaderboards for (All players)
Thank you in advance.