User Tools

Site Tools


crpl:docs:playsound

This is an old revision of the document!


~~DISCUSSION~~ <- CRPL reference <- SoundCommands

PlaySound

ArgumentsResultNotation
Name of Sound s1 –

Description

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, care should be taken to no play sounds that don't fit the action or that are overly annoying.

Examples

PlaySound("Explosion0")
crpl/docs/playsound.1360611859.txt.gz · Last modified: 2025/02/14 14:56 (external edit)