FANDOM


    The *achieve command is used to award the player with a pre-defined Achievement at a particular point in your game.

Usage and syntax

This command may be used in any Scene file, and the same Achievement can be awarded in multiple places if desired. The *achieve command is used to award both 'hidden' and 'visible' Achievements, with no difference in the actual syntax required.

Achievements are themselves defined in the Startup file using the *achievement command, with each assigned a unique 'codename' able to then be used as reference by the actual *achieve command, as follows:

*achieve mystery1

The above example will activate the Achievement assigned the codename of 'mystery1', awarding that Achievement to the player in the form of a pop-up banner on their game screen, and updating the Achievements page accordingly. If a previously 'hidden' Achievement, its details will finally be revealed to the player.


More commands
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
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

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.