PlaySoundGlobal


Plays a sound on all computers in an MP game. Syntax:

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

wav: This is a reference to the wav file that you want to play. This can be a variable assigned to the wav in the symbols section or the reference returned by LoadSound().

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

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

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