This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
play_sound [2020/07/23 11:56] – justin | play_sound [2024/01/31 13:23] – justin | ||
---|---|---|---|
Line 6: | Line 6: | ||
====Signature: | ====Signature: | ||
<code python> | <code python> | ||
- | play_sound(sound_name) | + | play_sound(sound_name, loop, interval) |
</ | </ | ||
^Argument^Description^Type^Required^ | ^Argument^Description^Type^Required^ | ||
|sound_name|Name of the sound effect to play.|[[String]]|Yes| | |sound_name|Name of the sound effect to play.|[[String]]|Yes| | ||
+ | |loop|.|[[Boolean]]|No| | ||
+ | |interval|.|[[Number]]|No| | ||
<WRAP center round info 100%> | <WRAP center round info 100%> | ||
Line 18: | Line 20: | ||
====Example: | ====Example: | ||
<code bauxite> | <code bauxite> | ||
- | play_sound(" | + | play_sound(" |
</ | </ | ||
// | // |