sound_play(index)

Drag & Drop equivalent : GM031

 

index = the name of the sound resource to be played.

 

Example:

sound_play(snd_thememusic);

 

This function will play the index sound resource that you've created when adding a sound. sound_play will only play the sound once. Useful for sound effects that you only need to play at specific times.

 

 

sound

Revision #1