Default value
null
on-end
- Plays when the sound ends or is stopped.
- Plays when the sound is preempted by another sound. If this isn’t present,
on-end
still applies if the sound is preempted.
Used to set client skin information related to this sound. This can be set to an associative list or a parameter string such as you would get from list2params().
These are the parameters currently defined:
mob/proc/PlayIntro()
var/sound/S = sound('intro.ogg')
S.params = list("on-end" = ".intro-ended")
src << S
mob/verb/_Intro_Ended()
set name = ".intro-ended"
src << "The intro has concluded."