Variable Text

About Variable Text

Variable text is text used to display a variable value, within an area of text in games. When your game is being played, every occurance of each variable text is automatically replaced with it's current value.


Our variable is called money and it's value is 100. The variable text to display the value of money is [[money]].


In the editor, we add the variable text [[money]].


In-game, we can now see how much money there currently is - 100 exactly. Whenever we change the value of [[money]] it will display the new value in-game.

The Games Create Editor supports specific variable text. This table provides descriptions on each variable text for your reference.

Variable Text Table

Variable Text Description
[[(variable)]] Displays the current value of the variable. Replace (variable) with the variable's name. Requires variables to be enabled.
[[settings_title]] Displays the title specified under Settings > Main in the editor.
[[settings_description]] Displays the description specified under Settings > Main in the editor.
[[player_character_first_name]] Displays the first name of the player character. Requires a nominated player character. When there is no current player character, it will display the text "Player".
[[player_character_last_name]] Displays the last name of the player character. Requires a nominated player character. When there is no current player character, it will display the text "Character".
[[player_character_name]] Displays the first and last name of the player character. Requires a nominated player character. When there is no current player character, it will display the text "Player Character".
[[character_(id)_first_name]] Displays the first name of the character. Replace (id) with the character's id.
[[character_(id)_last_name]] Displays the last name of the character. Replace (id) with the character's id.
[[character_(id)_name]] Displays the first and last name of the character. Replace (id) with the character's id.

Tip: You can view a character's id on the characters screen by selecting Settings > Editor Preferences > Show Character IDs.