Ello,
I've given up trying to make the plains take from the ground and stop then crashing, so i'm moving onto my next problem.
I want the airplains move between 6 logic points on the make and i have altered a patroling script i found on this site.
The plains stay in the air ok, but they will not move onto the next point on the map.
This is the script
_Ldr=_this select 0
_ob1=_this select 1
_ob2=_this select 2
_ob3=_this select 3
_ob4=_this select 4
_ob5=_this select 5
_ob6=_this select 6
_behaviour=_this select 7
_pt1=getpos _ob1
_pt2=getpos _ob2
_pt3=getpos _ob3
_pt4=getpos _ob4
_pt5=getpos _ob5
_pt6=getpos _ob6
_grp= Group _Ldr
_grp setbehaviour _behaviour
#Loop
#Update1
~4
_Ldr move _pt1
?(_Ldr distance _ob1) <= 100: goto "Update2"
goto "Update1"
#Update2
~4
_Ldr move _pt2
?(_Ldr distance _ob2) <= 100: goto "Update3"
goto "Update2"
#Update3
~4
_Ldr move _pt3
?(_Ldr distance _ob3) <= 100: goto "Update4"
goto "Update3"
#Update4
~4
_Ldr move _pt4
?(_Ldr distance _ob4) <= 100: goto "Update5"
goto "Update4"
#Update5
~4
_Ldr move _pt5
?(_Ldr distance _ob5) <= 100: goto "Update6"
goto "Update5"
#Update6
~4
_Ldr move _pt6
?(_Ldr distance _ob4) <= 100: goto "Loop"
goto "Update6"
and the init of the air craft i put = air1 flyinheight 90; [this, g1, g2, g3, g4, g5, g6, "AWARE"] exec "patrol.sqs".
The problem is the plane just keeps flying around the first logic point.
Is there a good reason for this? or dose some have a good airpatrol script i could have and mod?
Pen