PlaySoundLocal


Plays a sound locally. Syntax:

channel=PlaySoundLocal(wav, flex_volume, flex_panning, flags);

wav: Use a variable assigned to the wav or LoadSound() for the reference to the wav file.

flex_volume: This is the 0-1 flex volume for the sound.

flex_panning: This is the -1 to +1 flex panning for the sound.

flags: These are the Sound Flags that the sound is to be played with.