Type Function Return value Boolean Revision Release 2022.3683 Keywords steam, steamworks, achievements, resetUserStats See also steamworks.resetUserProgress() steamworks.*
Clears all stat data to nil
for the current user. This means that all calls to the steamworks.getUserStatValue() function will return nil
until you've set new stat data for the current user.
Returns true
if the reset request was successfully accepted by Steam.
Returns false
if the steamworks.isLoggedOn property is false
.
The userProgressUpdate event will not be dispatched after calling this function.
steamworks.resetUserStats()
local steamworks = require( "plugin.steamworks" ) -- Clear all stat data for the currently logged in user steamworks.resetUserStats()