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

SNDL

From Creatures Wiki
Jump to navigation Jump to search

SNDL is a CAOS command used to play WAV files in C3/DS.

Documentation

SNDL (command) sound_file (string)

Play a sound effect as in SNDC, only the sound is looped.

Examples

The airlock turns red and sounds an alarm when the outer and inner doors are closed.

	scrp 1 1 44 1000
	doif ov00 = 0
		sndl "alrm"
		anim [0]
		setv ov00 1
	else
		fade
		anim [1]
		setv ov00 0
	endi
endm

See also