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
Reset Roll
Add Level
Set Level
Add XP
Get Level
Get XP
Roll
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

Get XP

The get_xp command in narrat returns the amount of xp the player has in a skill
Syntax: get_xp [skill]
Previous
Get Level
Next
Roll
Last modified 8mo ago
Copy link