This is an old revision of the document!
<- CRPL reference <- SoundCommands
Arguments | Result | Notation |
---|---|---|
Name of Sound | s1 – |
Plays a sound. The list of available sound names can be found in the game by clicking the “Sound” button on the unit editing panel. Here, sounds can be sampled as well. Note that a sound play asynchronously. Multiple sounds can be played at the same time and will overlap. No given sound can be played within 0.1 seconds of itself, though. When playing sounds in custom maps, take care to select those that fit the action and are not overly annoying.
Names are not case sensitive.
Sounds are:
PlaySound("Explosion0")
#cycle through all the retro sounds <-num 1 add 27 mod ->num "Retro" <-num concat PlaySound 60 delay