<- [[.:prplreference| PRPL reference]] <- [[.:prplreference#everything_else_2|Everything Else 2]] ===== PlaySound ===== ^Arguments^Result^Notation^ | string | none | [ s1 - ] | === Description === 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 [[crpl:docs:playsound|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. === Examples === # Play the sound "Misc8" every time the spacebar is pressed if("Space" GetKeyDown) PlaySound("Misc8") endif CustomSounds.Play(GetStringFromStack());