OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Commando on 10 Aug 2004, 17:30:14
-
I got a mission where i have 2 groups of soldiers 1 that are pilots and one that are mixed ground troops.
my question is how do i get the extraction chopper to fly out of the extraction zone when all players are inside? :P
-
Use snYpir's Quick chopper lands scripts from the Ed Depot. Or one of the other chopper scripts.
-
yeah i had a look at them but i didn't want to add more scripts than the mission already has :P
the Grouplink script and the many a.i's and objects have already made the mission heavy. But i have improvised some triggersand waypoints now instead, gonna go and see if they work later on. Anyone know how to hide radio alpha and when the last objective is done the radio alpha gets visible in the radio menu?
-
setRadioMsg "null"
"_x in chopper1" count units grp1 == count units grp1
Syntax not guaranteed.
-
gonna try it but first im gonna see if my player in evacchopper condition in a waypoint works ???
-
what the hell? what is all the scripts for? i can't beleive you didn't remember this. (now i'm worried i didn;t read the question right)
just check out the jpeg i provided at the bottom of the page. This should sort out your problem.
-
Waypoints with players isnt always the best method tho :)
-Tet
-
Dunno if this will help but...
I cut the helis fuel when he is close to ground.... then give it back when I radio in.... and it never failed so far...
LOADATEXTRAC > HOLD > MOVETOBASE
^
|___ Syncronize with RADIO FOXTROT Trigger & Switch
(and give fuel to heli)
Problem is, heli might get to load and not wait for all members to get in, thats why I make sure its fuel its 0, when he gets really close to ground, and then give it back with radio. (you could also make him exec a script like heli addaction ["Lets go", "heligo.sqs"] in which you set his fuel to 1 and use a couple voices for nice effect :)
Just some thoughs.