Index

PlaySoundAtPosition

PlaySoundAtPosition(<-soundName <-volume <-pos)

Description

Plays a sound at the specified vector position in world coordinates. The volume ranges from 0.0 to 5.0.
See Sounds for a list of sounds.

Examples

PlaySoundAtPosition("SoundName" 1 GetUnitPosition(self))

See Also

There is a sound sampler script in the Tools section of the wiki.

Index