Hey all,
Below is the script that i am using in the current mission i am working on.
This is what it is meant to do. He goes and sentrys around the 4 markers until you radio him. I have playerhasrequestedairlift=true in my radio trigger, but instead of picking me up, he just continues flying around.
Heres the script:
chopper move getmarkerpos "marker2"
@(unitready chopper)
#loop
chopper move getmarkerpos "marker3"
? (playerhasrequestedairlift) goto : "Evac"
@(unitready chopper)
chopper move getmarkerpos "marker4"
? (playerhasrequestedairlift) : goto "Evac"
@(unitready chopper)
chopper move getmarkerpos "paradrop"
? (playerhasrequestedairlift) : goto "Evac"
@(unitready chopper)
chopper move getmarkerpos "marker2"
? (playerhasrequestedairlift) goto : "Evac"
@(unitready chopper)
goto "loop"
#Evac
player sideChat "HOTEL ONE, DOURDAN IS CLEAR. REQUESTING AIRLIFT, OVER."
~3
chopper sideChat "ROGER THAT ALPHA. HOTEL INBOUND. ETA 10 SECONDS"
~3
chopper move getMarkerPos "setmove"
chopper action ["HOVER",chopper]
chopper move getpos player
chopper flyInHeight 20
~6
chopper flyInHeight 15
~6
chopper flyInHeight 10
~4
chopper flyInHeight 5
~3
chopper flyInHeight 0.2
@ (player in chopper)
chopper flyInHeight 20
chopper flyInHeight 40
chopper flyInHeight 45
chopper action ["HOVER_CANCEL",chopper]
chopper move getMarkerPos "marker"
exit
Please help if you can.
Cheers,
Hauk