iterami/Docs.htm/common HTM Repos/audio.js/audio_play(id, music)
- Play the specified audio created via audio_file(args).
- If "music" is true, then the audio will loop.
- If the "audio_enabled" setting is enabled then the audio is played at "audio_volume", otherwise nothing happens.
- Playing an audio that is already playing immediately restarts it from the beginning.
| id
|
| string ID
|
| music
|
| boolean
|