@text-input
Let the player type text and store it in a variable (waits until they confirm)
- Built-in
- Waits until it finishes
- Can be written without the name
variable
Parameters
variableRequiredVariable (game.x and so on)
Variable to store the entered text in
promptText
Heading above the input field (such as "Enter your name")
initialText
Default: ""Text already in the field
placeholderText
Default: ""Hint shown faintly while the field is empty
maxInteger (1 or more)
Default: 1000Maximum number of characters
requiredtrue / false
Default: falseDon't allow confirming while the field is empty (or only spaces)
modetext / number / password
Default: textKind of input. number uses the number keyboard and accepts digits only; password hides what's typed (for PINs and such)
patternText
Accepted format (a regular expression; confirming is disabled until the whole text matches, like [0-9]{4})
Guides that use this command
From TyranoScript
When you import with lim import, these tags become this command:
How each attribute converts, and what isn't converted, is in TyranoScript import.