Narrat Docs
Search
⌃K
Narrat Docs
Search
⌃K
Narrat
Functions Documentation
All commands list
Save Commands
String commands
Text Commands
Random Generation
Logical Operators
Math commands
Jump
Choice
Modifying variables
If
Left-side Viewport commands
Clear Dialog
Audio commands (music and sounds)
Wait
Skills Commands
Notify
Stats Commands
Text Field
Features
Quests
Transitions
Inventory
HUD Stats
Screens
Skills System
Saving and Reloading
Playing Audio
Functions
Guides
Getting Help
Language syntax and expressions
Using items
Updating narrat
Getting Started
Old Template method
Config files
Useful Links
Theming the game and UI
Installing Narrat in a web app
Editing a narrat game
Building and exporting your game
Publishing on Steam (Steamworks integration)
Examples
Example Config
Example narrat script
Powered By
GitBook
Text Field
In narrat, text fields can be used to ask the player to enter text
New feature: Text Fields
New text fields feature to let players type answers to questions.
Usage:
text_field [prompt]
Example:
main
:
set
player
.
name
(
text_field
"Enter your name"
)
"Your name is %{playerName}"
Previous
Get Stat Value
Next - Features
Quests
Last modified
10mo ago