User Tools

Site Tools


4rpl:commands:playsoundatposition

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.txt · Last modified: 2022/10/25 08:04 by Vertu