This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| 4rpl:commands:playsoundloop [2021/02/10 15:01] – Karsten75 | 4rpl:commands:playsoundloop [2025/02/14 14:57] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 9: | Line 9: | ||
| The sound will play based on the location of the unit (if the unit moves the sound moves with it). | 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.\\ | The loop will autoterminate if the unit is destroyed.\\ | ||
| - | See [[PlaySound]] for a list of sounds. | + | See [[Sounds]] for a list of sounds. | 
| + | Note: Subsequent calls of PlaySoundLoop on the same unit will have no affect. First use [[StopSoundLoop]] then apply the new sound/ | ||
| ===== Examples ===== | ===== Examples ===== | ||
| Line 16: | Line 17: | ||
| PlaySoundLoop(" | PlaySoundLoop(" | ||
| </ | </ | ||
| + | |||
| + | ==== Usage note ==== | ||
| + | |||
| + | The " | ||
| + | |||
| === See Also === | === See Also === | ||
| * [[StopSoundLoop]] | * [[StopSoundLoop]] | ||
| + | * There is a [[cw4: | ||
| + | * | ||
| < | < | ||