setthread triggering at spawn
Posted: Sat Mar 27, 2004 2:28 am
couple of things, 1 my lift doors are opening at the spawn for some reason i cant figure out, all triggers are setthreads which i thought would not trigger til u triggered them lol. but the doors are opening at spawn
also.....
the lift closes all doors when it moves, n i have a playsound in the script
but i also have the sound in the editor for sound_close_start...
i cant remove either of these coz then there will be no sound upon close at some point, how do i stop the sound from triggering multiple times.
Code: Select all
level waittill spawn
//--------------//
// Lift Buttons //
//--------------//
1st:
thread triggers_off
thread close_doors
waitthread
$lift moveto $floor_1 // sets the lifts destination
$lift loopsound lift_sound
$lift waitmove // moves the lift to that destination
$lift loopsound lift_sound wait
$1st_doors doopen
$1st_doors playsound lift_gate
thread triggers_on
endalso.....
the lift closes all doors when it moves, n i have a playsound in the script
Code: Select all
$1st_doors playsound lift_gate
$1st_doors doclosei cant remove either of these coz then there will be no sound upon close at some point, how do i stop the sound from triggering multiple times.