Re: Music wont stop
Posted by Campaignjunkie on
Mon Apr 11th 2005 at 7:50am
1309 posts
329 snarkmarks
Registered:
Feb 12th 2002
Occupation: Student
Location: West Coast, USA
It might be easier to have a seperate logic_relay that stops ALL of the music entities no matter what.
Then, have each button trigger the logic_relay (0.0 delay) then trigger
the appropriate music sound (0.25 delay?) a little time afterwards. So,
when you push a button, it will roughly go like this:
<div style="text-align: justify;">
<div style="text-align: justify;">(radiobutton_1) func_button --> (radio_stop) logic_relay --> Stop ALL Sounds (0.0 sec)
|
|------------> Play Sound (music1) (0.25 sec)
</div>
<div style="text-align: left;"><span style="font-family: courier new;">
This setup will look much cleaner in-editor, plus you can tweak it
faster. I'm not sure if the 0.25 sec delay is neccesary, but it's
better to be safe than sorry. The player most likely won't notice
anything anyway.</span>
</div>
</div>
Re: Music wont stop
Posted by omegaslayer on
Mon Apr 11th 2005 at 4:40pm
2481 posts
595 snarkmarks
Registered:
Jan 16th 2004
Occupation: Sr. DevOPS Engineer
Location: Seattle, WA
It looks to me like your delays are messed up, set the stop sound to have a larger delay than the play sound outputs....like Campaign said.....
Re: Music wont stop
Posted by DrGlass on
Tue Apr 12th 2005 at 1:10pm
DrGlass
member
1825 posts
632 snarkmarks
Registered:
Dec 12th 2004
Occupation: 2D/3D digital artist
Location: USA
set the logic_relay to 'on trigger' target each of the sounds and 'stopsound'