Scripts not activating sound sequence

Discuss all aspects related to modding Zandronum here.
Post Reply
Krispy
 
Posts: 88
Joined: Tue Jun 05, 2012 9:37 pm
Location: Michigan

Scripts not activating sound sequence

#1

Post by Krispy » Wed Jun 12, 2013 10:27 pm

This is driving me crazy. I have a perfectly functional sound sequence (which I tested) and a script that's supposed to activate it. But so far, only SoundSequence("AlarmLoop1"); has worked. This isn't good enough, because I want the sound to be heard all over the map, and this causes it to be heard only at a certain switch. I've tried ambientsound, SoundSequenceOnActor (with multiple actors with the same TID), SoundSequenceOnSector (with multiple sectors but with no TID), and ThingSound. I know the script works, because it has multiple parts, and it seems to skip over the sound sequence. What am I doing wrong?
Last edited by Krispy on Wed Jun 12, 2013 10:28 pm, edited 1 time in total.

User avatar
Ivan
Addicted to Zandronum
Posts: 2229
Joined: Mon Jun 04, 2012 5:38 pm
Location: Omnipresent

RE: Scripts not activating sound sequence

#2

Post by Ivan » Wed Jun 12, 2013 11:28 pm

Why don't you try LocalAmbientSound? You can try this and it will play this sound no matter what.
=== RAGNAROK DM ON ... uh... dead forever? ===
=== ALWAYS BET ON ... uh... dead forever? ===
=== Who wanta sum wang? ===
=== Death and Decay - A new Monster/Weapon replacer ===

Krispy
 
Posts: 88
Joined: Tue Jun 05, 2012 9:37 pm
Location: Michigan

RE: Scripts not activating sound sequence

#3

Post by Krispy » Wed Jun 12, 2013 11:30 pm

Nope. It's for multiplayer.

User avatar
Ivan
Addicted to Zandronum
Posts: 2229
Joined: Mon Jun 04, 2012 5:38 pm
Location: Omnipresent

RE: Scripts not activating sound sequence

#4

Post by Ivan » Wed Jun 12, 2013 11:32 pm

Krispy wrote: Nope. It's for multiplayer.
Can make all players execute it.
=== RAGNAROK DM ON ... uh... dead forever? ===
=== ALWAYS BET ON ... uh... dead forever? ===
=== Who wanta sum wang? ===
=== Death and Decay - A new Monster/Weapon replacer ===

Krispy
 
Posts: 88
Joined: Tue Jun 05, 2012 9:37 pm
Location: Michigan

RE: Scripts not activating sound sequence

#5

Post by Krispy » Wed Jun 12, 2013 11:58 pm

LocalAmbientSound doesn't work either.

EDIT: I've gone with using ambient sound objects. They're working.
Last edited by Krispy on Thu Jun 13, 2013 1:57 am, edited 1 time in total.

Post Reply