Skip to reading
Buttons, Labels & Text Boxes

19. Diagnose text and input problems

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 PDF page
Source table from 19. Diagnose text and input problems, page 42
SymptomCheck first
$$visitor_name is printed literallyThe exact variable ID, its existence in the running game and whether this is an output label/button.
@playername is unchangedUse the exact built-in spelling @PlayerName.
A text box keeps @PlayerNameThat is expected: its editable contents are literal. Fill value explicitly if required.
{target} is emptyThe pointer may not be over an interactable target.
{value}/{max} shows 0/100Those are element-value defaults, not the contents of another text box.
The score has .0Numeric arithmetic produces a number. Format a display String if needed.
A corner ignores Border RadiusIt may have an explicit per-corner override. -1 restores inheritance.
A long sentence clipsCheck frame Width/Height, font size, line breaks and the translated wording.
A symbol becomes a squareCheck that the actual font contains that glyph.
Formatting tags appear as textThese are plain text controls. Do not assume RichTextLabel/BBCode parsing.

Separate the source from the result. Inspect the authored Text in the designer, the variable value in the running game and the resulting label on screen. A display token does not compute a puzzle outcome or save a typed answer by itself.

GUI Preview can show raw tokens or local editing states. Use a running-game test for values, current player/scene information, action results and parser commands.

Page 42 of 46Permalink
Go to page