UE1 - UT Ranking Check

  • Two Factor Authentication is now available on BeyondUnreal Forums. To configure it, visit your Profile and look for the "Two Step Verification" option on the left side. We can send codes via email (may be slower) or you can set up any TOTP Authenticator app on your phone (Authy, Google Authenticator, etc) to deliver codes. It is highly recommended that you configure this to keep your account safe.

Rajada

Member
Jan 21, 2008
213
0
16
rajada.tumblr.com
How do I most reliably check who is in last place? I'm unsure if the scoreboard stores anything or if PRI's variables have anything helpful. Is there an easy variable to use or is this gonna require some 'for' statements like I originally thought?
 

Helen

Member
Jan 23, 2010
48
0
6
At the point in time you want to see who is in last place, you are going to have to do a loop. See the TournamentScoreboard class, and the function SortScores.
 

Wormbo

Administrator
Staff member
Jun 4, 2001
5,913
36
48
Germany
www.koehler-homepage.de
Players are usually sorted by their PRI.Score value. For information on breaking ties, see the scoreboard's sorting function. Last Man Standing adds 0.001 points to all remaining players' Score each time a player is eliminated. This ensures eliminated players are ranked in the order they were eliminated without having to add a separate elimination order variable.