Getting local player's high score @ Apple Game Center

If one wants to verify the device’s high score is the same as that recorded at Apple’s Game Center, what is the fastest / easiest way to do that?

The call:
 

gameNetwork.request( “loadLocalPlayer”, { listener=requestCallback } )

doesn’t appear to return the local player’s highest score. Obviously there is the call to set a high score:
 

gameNetwork.request( “setHighScore”, —

but not a direct call to “getHighScore” for the local player.

Suggestions from game center gurus?

Hey lessmsios,

as the docs state you have to use gameNetwork.request( “loadScores”, …)

In the last line it says:
“In addition, the event.localPlayerScore table is accessible for the logged-in player. This contains all of the properties shown above.”

event.localPlayerScore.value should do the trick for you.

Greetings

Torben

Hey lessmsios,

as the docs state you have to use gameNetwork.request( “loadScores”, …)

In the last line it says:
“In addition, the event.localPlayerScore table is accessible for the logged-in player. This contains all of the properties shown above.”

event.localPlayerScore.value should do the trick for you.

Greetings

Torben