User Tools

Site Tools


play_sound

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
play_sound [2017/04/26 14:59] justinplay_sound [2017/04/26 15:03] justin
Line 10: Line 10:
 ^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|
 +
 +<WRAP center round info 100%>
 +This function plays the sound at the game's current sound effect volume. 
 +</WRAP>
  
 ====Example:==== ====Example:====
Line 15: Line 19:
 play_sound("door_open") play_sound("door_open")
 </code> </code>
-//Results:// Plays the sound effect named "door_open".+//Results:// Plays the sound effect named "door_open" one time.
  
 <WRAP center round tip 100%> <WRAP center round tip 100%>
play_sound.txt · Last modified: 2024/01/31 22:20 by justin