Skip to reading
Buttons, Labels & Text Boxes

5. The built-in @ tokens

Edition 0.86.4.1 HF1

0.86.4.1 Hotfix 1 edition. Earlier lessons and screenshots retain their original version context; revised references and supplements describe the newer behavior.

Download PDFView illustrations

These four built-in text tokens are available through the game's text expansion. Their capitalization is part of the spelling.

Source table from 5. The built-in @ tokens, page 12
TokenMeaningExample in this tutorial
@PlayerNameThe active playable character's display name.Builder
@PlayerIdThe active playable character's ID.tester
@SceneNameThe current room's name.Workshop
@ScoreThe 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.

Page 12 of 46Permalink
Go to page