achievement_reset

Reset all achievements to initial values.

Syntax:

GML Code Example

achievement_reset()


Returns: N/A


Description

This function will reset all achievements back to their initial values for the game. This function is provided as a debug function and it is not recommended that you permit the end-user to do this in your games.


Example:

GML Code Example

if debug_mode
    {
    if keyboard_check_pressed(vk_space) achievement_reset
    }
 

The above code checks to see the game is in debug mode, and if it is pressing "space" will reset all the achievements.





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