5. The built-in @ tokens
These four built-in text tokens are available through the game's text expansion. Their capitalization is part of the spelling.
| Token | Meaning | Example in this tutorial |
|---|---|---|
| @PlayerName | The active playable character's display name. | Builder |
| @PlayerId | The active playable character's ID. | tester |
| @SceneName | The current room's name. | Workshop |
| @Score | The score variable; 0 when that key is absent. | 6.0 after the example actions |
Figure 8. The wildcard board during gameplay. The headings are ordinary labels; their neighbouring labels contain the tokens.
Use @PlayerName for the adventure character. It does not become the visitor name typed into name_box. That typed name is a different value, stored in visitor_name and displayed with $$visitor_name.
@Score is a specific shorthand for score. @Coins is not a general variable syntax. Define a coins variable and use $$coins instead.
