Welcome to the Creatures Wiki! Log in and join the community.

SNDE

From Creatures Wiki
(Redirected from Snde)
Jump to navigation Jump to search

SNDE is a CAOS command used to play WAV files in the Creatures series.

Documentation[edit]

SNDE (command) sound_file (string)

Plays a controlled sound effect emitted from the target's current location.

Examples[edit]

From the basic doll script's collision script, causes the doll to make a 'thud' sound when it hits the ground (sound file name is dr64.wav):

 scrp 2 21 2000 6
 	doif wall eq down
 		snde "dr64"
 	endi
 endm

See also[edit]

  • FADE
  • SNDC - unlike SNDE, SNDC changes the volume of the sound if the object is on-screen or not.
  • SNDL - acts as a looped version of SNDC.
  • SNDQ