event.isError

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

Overview

Boolean value of true if the request failed. This is typically the case if the system does not have Internet access or if an invalid leaderboard name was given.

This will be false if the request was successfully received by Steam's server. This does not necessarily mean that the leaderboard score was changed — it could simply be less than or equal to the user's previous score. The event.scoreChanged property will indicate if the score has changed or not.