<- PRPL reference <- Everything Else 2
| Arguments | Result | Notation |
|---|---|---|
| string | none | [ s1 - ] |
Plays the sound effect s1 from a predefined set of sounds. The stock sounds available are identical to those in Creeper World 3 (see CRPL's PlaySound for the list), excluding CW3's unit-specific sounds. Note that unlike in CRPL, these names are case-sensitive.
Two additional sounds are available in Particle Fleet: “JumpIn” and “JumpOut”. More may become available in the future.
# Play the sound "Misc8" every time the spacebar is pressed
if("Space" GetKeyDown)
PlaySound("Misc8")
endif
CustomSounds.Play(GetStringFromStack());