User Tools

Site Tools


4rpl:commands:playsoundatposition

This is an old revision of the document!


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

4rpl/commands/playsoundatposition.1666699499.txt.gz · Last modified: 2025/02/14 14:56 (external edit)