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

FADE

From Creatures Wiki
Jump to navigation Jump to search

SNDE FADE is a CAOS command used to fade out a sound that is playing.

Documentation[edit]

FADE (command)

Fade out a controlled sound.

Examples[edit]

From the Volcano in the Ettin Desert - after the volcano has gone off, it loops an alarm sound while the meter in the hallway below is counting down, then fades the sound out when the animation is finished.

sndl "alar"
part 2
anim [14 13 12 11 10 9 8 7 6 5 4 3 2 1 0]
over
part 0
anim [6 5 4 3 2 1 0]
over
fade

The airlocks also fade out their looped alarm sound when the airlock cycle is completed.

doif ov00 = 0
	sndl "alrm"
	anim [0]
	setv ov00 1
else
	fade
	anim [1]
	setv ov00 0
endi

See also[edit]