ok here i go
i created a brush; classname: scriptmover
model2: /path/to/model
target/scriptname: attack
then i created some pathcorner named p2start near it.
i made a path using pathcorners, name p2step 1/2/3/4/5/…
and the following script
//AIR RAIDS
attack
{
spawn
{
faceangles 0 180 0 1000
gotomarker p2start 10000
wait 3000
}
trigger on
{
alertentity plane2sound1
gotomarker p2step1 500
faceangles 0 360 0 gototime
alertentity plane2sound2
gotomarker p2step2 500
faceangles 0 360 90 gototime
gotomarker p2step3 500
faceangles 0 270 90 gototime
gotomarker p2step4 500
faceangles 0 270 65 gototime
gotomarker p2step5 500
faceangles 0 270 0 gototime
gotomarker p2return1 500
faceangles 0 270 0 gototime
gotomarker p2return2 500
faceangles 0 0 0 gototime
gotomarker p2start 500
faceangles 0 0 0 gototime
}
}
what happens when i start map? the plane appears in point 0 0 0 and then flies towards p2step1. after that it flies correctly following the path.
it ends up in p2start.
so everything works fine except the spawning.