05-25-2015, 04:31 AM
I would like to use a script_area to trigger one song to start, AND another song to end.
I want to:
and
then STOP "Edgar.ogg" from playing.
I am very new to this scripting stuff, so please forgive me if I completely overlooked the correct script on the wiki.
I want to:
Code:
void OnEnter()
{
PlayMusic ("Edgar.ogg", true, 0.9, 1.0, 1, true);
}
and
Code:
{
PlaySoundAtEntity("sound", "Tunnels.snt", "Tunnels", 0.0, true);
}
then STOP "Edgar.ogg" from playing.
I am very new to this scripting stuff, so please forgive me if I completely overlooked the correct script on the wiki.