OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: gadolinite on 29 May 2004, 04:37:15
-
I have a helicopter named paradrop. It is on a string of two waypoints. The first waypoint tells the chopper to flyinheight 150. The second executes the paratrooper script. The script does not work with the flyinheight in the first waypoint, it still does not work in initilazation fields. It does work when the flyinheight command is in the paratrooper script. The 12 guys are set to moveincargo to the chopper in their init fields. Why does this happen? How can I fix this?
Thanks
-
How do you order the flyinheight in the waypoint? You have to use:
name_of_helo flyinheight 150
Was this what you were after? :) Also as a sidenote, I wouldn't recommend executing the paratrooper script in a waypoint. I'd rather use a trigger which is activated once the chopper is present. I've had some problems with waypoints executing scripts in the past and thus I almost never use waypoints anymore. I hope I was able to help! :)
-
Use "flyInHeight" in a trigger linked (F2) to the helicopter. See my topic : http://www.ofpec.com/yabbse/index.php?board=6;action=display;threadid=16376;start=0 ;).
-
Try this:
http://www.ofpec.com/yabbse/index.php?board=6;action=display;threadid=7848;start=0
Rhys