driver2 Posted October 24, 2009 Share Posted October 24, 2009 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 Link to comment
driver2 Posted October 26, 2009 Author Share Posted October 26, 2009 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. Link to comment
Mr.Hankey Posted October 26, 2009 Share Posted October 26, 2009 getElementData(player, 'race rank') should work Link to comment
AcidbRain Posted October 26, 2009 Share Posted October 26, 2009 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. Link to comment
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now