Page 1 of 1

Loopy Plane

Posted: Fri Feb 21, 2003 3:59 am
by Gen Cobra
How do i get a string of plane splines to loop. Or just have a trigger that respawns after a scripted time integer? Ya know, so I can see the plane again if I pass through the trigger again later.

Posted: Fri Feb 21, 2003 6:20 am
by mohaa_rox
Try to join the last point to the first one and will do a loop.

Posted: Fri Feb 21, 2003 7:39 am
by Gen Cobra
What do you mean ROX? The splines? Have the last one loop back to the original target ? Or... I don't understand. :? Can't I do something with the trigger instead?

Posted: Fri Feb 21, 2003 8:01 am
by mohaa_rox
Yup, the last spline targets the first one, making it a loop circle. Or do a script, ask jv.

Posted: Fri Feb 21, 2003 10:32 am
by small_sumo
Awe poor jv with the world on his sholders lol.

Flying Fruit loop.

Posted: Fri Feb 21, 2003 4:42 pm
by Gen Cobra
I think I musta worded it wrong. I want the animation to happen again later. I want my trigger to trigger... later. That's all. So the plane does the same eanimation again when the trigger is used again. Do i use a wait key? Like wait 10 or 15?
Great idea about the loop on the plane though.

Posted: Fri Feb 21, 2003 9:31 pm
by TheShiznaeSpe
there's a backwards way to do it

make two sets of triggers and planes

one with #set 1 and one with #set 2

that was one trigger will activate the first plane and another will activate the 2nd

Posted: Sun Feb 23, 2003 12:10 am
by CHeesER
Ya Cobra you can,just create a trigger multiple.And add a few lines to your map scr.The setting in radiant would be like below:

key //value
#set // 3
$targetname // bombertrigger
classname // triggermultiple
setthread // reset_bomber_thread
spawnflags // 128
triggerable // 1
wait // .5

So basicly give it the #set of your plane,a$targetname for the trigger,set the thread to be used,and make it triggerable.

Now that the thread has been called you must add it to your map scr.Since your using a plane you already have exec global/bomber.scr in your script.You need to add after level waittill spawn, level.flyplane = 1 level.bomberrepeat = 1.Now for the script part,add the following lines:

reset_bomber_trigger:
wait 20
level.bombertriggerset[self.set] = 0
end

That script will rest the trigger,you can fool around with the wait time if you want.

I think thats it,hope it helps ya.

Posted: Sun Feb 23, 2003 4:01 am
by Gen Cobra
Thanks. I needed that. I have a better understanding of triggers now. I'll use your idea and try it out. 8)