Reset all statistics and achievements.


GML Code Example


Returns: N/A


With this function you can reset all the statistics and achievements for you game to their default values (as defined in the Steamworks control panel for your game). It is recommended that you only use this function as a debug tool when developing your game.


GML Code Example

 if global.Version != ini_read_real("Data", "Version", 0)
    ini_write_real("Data", "Version", global.Version);

The above code checks a stored value in an ini file against that of a global variable and if they are different, it resets the statistics and achievements for the game.

No Examples Submitted

Does this page need better examples? Be the first to Submit

No Edits Suggested

Is this page unclear or not descriptive enough? Suggest an edit to the page and with enough upvotes your changes will be made.

No Questions Have Been Ask

Do you have a question about this page? Ask it Here