SoundUtils
Sourceclass DynamicSound
Source
real currentPitch
Source
real minimumLength
Source
real smoothness
Source
SoundInstance soundData
Source
SoundDefinition soundHandle
Source
real targetPitch
Source
function onTimedLoop()
Source
function play()
Source
function setAbsolutePitch(real pitch)
Source
function setTargetPitch(real pitch)
Source
class SoundDefinition
Source
int duration
Source
string eaxSetting
Source
int fadeIn
Source
int fadeOut
Source
string file
Source
boolean is3D
Source
boolean looping
Source
LinkedList soundStack
Source
boolean stopOnLeaveRange
Source
function play() returns SoundInstance
Source
Plays this sound for all Players with a default duration.
Use this if you don't care when the SoundHandle gets recycled.
function play(int duration) returns SoundInstance
Source
Plays this sound for all Players with the given duration.
The duration should be close to the length of the soundfile.
Use this to recycle soundhandles immeditely when they finish,
allowing for rapid succession of sounds.
function play(int duration, int volume) returns SoundInstance
Source
function playForPlayer(player p) returns SoundInstance
Source
Plays this sound for the given Player with a default duration.
See play() for more info
function playForPlayer(player p, int duration) returns SoundInstance
Source
Plays this sound for the given Player with the given duration.
See play() for more info
function playOnPoint(vec3 target) returns SoundInstance
Source
function playOnPoint(vec3 target, int duration) returns SoundInstance
Source
class SoundInstance
Source
unit onUnit
Source
player p
Source
vec3 pos
Source
Sim3DSound s3s
Source
sound snd
Source
SoundDefinition soundDef
Source