achievement_reset

Reset all achievements to initial values.

Syntax:

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:

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.


Back: Achievements and Leaderboards
Next: achievement_login_status
© Copyright YoYo Games Ltd. 2015 All Rights Reserved