This is an old revision of the document!
⇐ Index
PlaySoundLoop(<-soundName <-volume <-unit)
Plays a sound loop and attaches to the specified unit. The volume ranges from 0 to 1.
The sound will play based on the location of the unit (if the unit moves the sound moves with it).
The loop will autoterminate if the unit is destroyed.
See Sounds for a list of sounds.
Subsequent calls of PlaySoundLoop on the same unit will have no affect. First use StopSoundLoop then apply the new sound/volume.
PlaySoundLoop("SoundName" 1 self)
⇐ Index