The *check_achievements command effectively creates a new true / false boolean *temp variable for each Achievement declared in the Startup file, with the variable name -
choice_achieved_codename
- where 'codename' will be the actual codename originally declared for that Achievement, e.g.
choice_achieved_mystery1
choice_achieved_mystery2
choice_achieved_demonbane
choice_achieved_champion
choice_achieved_faithful
(etc.)
The temporary variables for Earned Achievements will contain a value of 'true', while not-yet-earned Achievements will of course be 'false'.
For a fuller explanation of the Achievements system as a whole, including specific examples of the usefulness and purpose of the *check_achievements command, please refer to the main *achievement command page.
More commands / functions | |
Choice | *choice, *fake_choice, *disable_reuse, *hide_reuse, *allow_reuse, *selectable_if |
---|---|
Variable | *create, *temp, *set, Arithmetic operators, *delete, *input_number, *input_text, *print, *rand |
Conditional | *if, *elseif, *else, Multireplace |
Goto | *label, *goto, *goto_scene, *goto_random_scene, *gosub, *gosub_scene, *finish |
Formatting | Bold text, Italic text, *image, *line_break, *page_break, *link, *stat_chart |
Miscellaneous | *comment, *scene_list, *title, *author, *achieve, *achievement, *check_achievements, *bug, *ending, *more_games, *share_this_game, *show_password, *script, Implicit Control Flow |