OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: 456820 on 10 Apr 2005, 10:05:49
-
okay i know we all have problems with helicopters.
i have a uh60 named hawk and in the init line i put "this flyinheight 0"
but at the start it is empty and when i speak to some pilots they get in the chopper and just stay there wich is what i want.
but when i go back to talk to my squad and tell them to board the black hawk the chopper takes off then comes back down and then they get in but the chopper doesnt take off again
so my question's are basically how can i stop it taking off to before my squad is in it
and what is a line of code to use to see if grp1 is in the blackhawk.
and also if i start of without any members in my squad then later they join and im grp1 will they also be grp1 when they join
-
You don't need:
this flyinheight 0
Try setting fuel to zero, then when you want it to take-off set fuel to 1.
You might need to play with it a bit to get it right.
-
now the pilots wont even get in i tried
pilot1 moveindriver hawk
pilot2 moveingunner hawk
but only the driver one worked
-
maybe they are not grouped together or there is somthing wrong with the rankings, try to do it with waypoints for pilots see how it goes and like THobson said set fuel 0 then make 1 when the squad get in.
and also if i start of without any members in my squad then later they join and im grp1 will they also be grp1 when they join
yes