script prob


(mazdaplz) #1

my shootable script_mover was working great until i put it in a splinepath.

now everytime i shoot the bullseye it does trigger the death event because i can see the announce, but my md3 wont go invisible, it justreappears and keeps on moving along the spline

/////////////////////////////////////////////////////////////////////////

lapm
{
spawn
{
accum 1 set 0
wait 20
followspline 0 spl_01 50000 length 32 wait
trigger self rail_path
}
death
{
wm_announce “hit the spot!”
setstate bulls invisible
}
trigger rail_path
{
followspline 0 spl_01 260 wait length 354
followspline 0 spl_02 260 wait length 354
followspline 0 spl_03 260 wait length 354
trigger self rail_path
}
}


(d3coy) #2

the interesting thing is your script for this object is called “LAPM”

and in your death statement your using

setstate bulls invisible

What exactly are you trying to make disapear?


(mazdaplz) #3

lapm is the clip brushes around the model.

bulls is a model that im tryin to make disapear when health runs out.
they share the same routine.

it was working before fine. but since i’ve had it along a path, the model wont obey my command

they are BOTH moving along the spline btw, no different from a tank really except this one could be damaged by regular bullets


(mazdaplz) #4

FIXED

i didnt need a model, i used the model2 function and everything went back to normal