Skip to content

rq.SoundOpts ​

How rq.sound.play and play_flash play a sound.

Fields ​

NameTypeDescription
volume (optional)integerThe volume, 0 to 100, clamped. Default 100.
loop (optional)integerHow many times it plays; 0 loops until stopped. Default 1.
index (optional)integerplay_flash only: which sound of the file, from 1. Default 1.

Used by ​

rq.sound.play, rq.sound.play_flash