- Joined
- Jun 27, 2010
- Messages
- 2,763
In my map there are 10 players and 2 teams. 1-5, 6-10
Their damage is collected through the whole game. And at the end of the game you can see their position by damage in the leaderboard.
Then, what I want to do is to put each hero of every player on pedestral, depending on his position of damage in his team.
There is function in the integer triggers leaderboard - position of player in <leaderboard>, however I do not know how to get #1 #2 #3 #4 and #5 player by damage from each team. Could you help me?
TIP: the damage of every player is stored in integer variable array DAMAGE_INT[array] and then displayed in the leaderboard.
Their damage is collected through the whole game. And at the end of the game you can see their position by damage in the leaderboard.
Then, what I want to do is to put each hero of every player on pedestral, depending on his position of damage in his team.
There is function in the integer triggers leaderboard - position of player in <leaderboard>, however I do not know how to get #1 #2 #3 #4 and #5 player by damage from each team. Could you help me?
TIP: the damage of every player is stored in integer variable array DAMAGE_INT[array] and then displayed in the leaderboard.