SOUNDS
Sounds are used exclusively by scripts, when activated a sound will play.
There are some limitations on sounds...
  • Sounds must be in the .wav format.
  • Sounds must be in the pure pcm format.
  • Sounds must contain the proper header format without any extra header data.
  • Sounds must not contain any extra data after the data header.

Fortunately, most sound editors will handle this for you if you export a .wav file.


"variable = add_sound(file)"


This will store the sounds in memory, to be used by other scripts...

Argument Function
File The file that will be loaded into memory. (Found in the sounds folder)



When editing the sound in the authoring tools, the tool will look like this...