Jump to content

Race: Find out current mode and player rank in DD


driver2

Recommended Posts

Posted

Hello,

I've been searching on the wiki and in the race resource itself, but I couldn't find a non-hacky way, to detect which mode Race is currently running and who finished on what rank in a Destruction Derby. Maybe someone with knowledge of Race can answer this.

Greetings

Posted

I found out that onMapStarting provides three parameters, mapInfo, mapOptions and gameOptions, of which mapInfo.modename contains the name of the mode. It still don't know how to detect the ranking in DD though.

Posted

Beware that the 'race rank' data is updated at 1 second intervals, so if you really need accuracy you'll have to wait at most 1 second after the player has finished.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...