Play
Play Function
The play
function plays audio, either music or sounds.
See playing audio for more info on how to setup the audio system
Syntax: $play [mode] [audioName] [channel (optional)]
WARNING
The ambient
mode used to be called ambiant
. This has been deprecated, and you should use ambient
instead.
- mode:
music
,ambient
orsound
- channel: A number indicating which channel to play audio on. Defaults to 0. Can be used to play multiple musics in parallel on the same mode
Example
narrat
play music musicName 0