Narrat Docs
Search…
Narrat Docs
Narrat
Functions Documentation
Jump
Choice
Set
Add
Talk
If
Set Screen
Set Button
Clear Dialog
Play
Stop
Pause
Wait
Add Level
Add XP
Notify
Set Stat
Add Stat
Text Field
Features
Quests
Inventory
HUD Stats
Screens
Skills System
Saving and Reloading
Playing Audio
Functions
Guides
Language syntax and expressions
Using items
Getting Started
Config files
Useful Links
Theming the game and UI
Installing Narrat in a web app
Editing a narrat game
Building and exporting your game
Examples
Example Config
Example narrat script
Powered By
GitBook
Stop
The stop function stops audio playing
Stop Function
The
stop
function stops audio, either music or sounds.
See
playing audio
for more info on how to setup the audio system
Syntax:
play [mode] [audioName]
mode:
music
or
sound
audioName:
the id of a running sound, or can be ommitted if stopping the music
Example
1
stop music
2
stop audio someAudioId
Copied!
Functions Documentation - Previous
Play
Next - Functions Documentation
Pause
Last modified
27d ago
Copy link
Contents
Stop Function
Example