event.scoreChanged

Type Boolean
Event setHighScore
Revision Release 2024.3703
Keywords steam, steamworks, leaderboard, setHighScore, scoreChanged
See also setHighScore
steamworks.*

Overview

Boolean value of true if the user's score was successfully changed and updated on the leaderboard. The event.currentGlobalRank property will then provide the user's current global rank on the leaderboard as well.

This will be false if the score submitted to the steamworks.requestSetHighScore() function was less than or equal to the user's previous score, or if the event.isError property is true, indicating that the request failed to reach Steam's server.