ResetSteamStats

From VisionaireWiki
Jump to: navigation, search

resetSteamStats

Resets all steam stats.

Note: this command only works if the steam_api library was loaded and if a steam account for your game exists.

Lua Syntax:

resetSteamStats( [resetAchievements])

Arguments

resetAchievements

true|false - If true all achievements will be cleared, otherwise only all stats will be reset. Default value is false.

Flags

Return Values

success
True if the stats were cleared successfully, false if the operation failed.