OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Taggart on 14 Mar 2005, 08:01:57

Title: Create Aircraft Inflight
Post by: Taggart on 14 Mar 2005, 08:01:57
I have created a small script that repositions an aircraft to a marker then goes to a couple of other ones after, simulating a call for an airstrike, but how can I make the aircraft appear at this marker inflight, it always appears at ground level and crashes. I named the aircraft a1, and tried on the first line a1 flyinheight 80, but it still appears at ground level, any ideas  :)
Title: Re:Create Aircraft Inflight
Post by: bedges on 14 Mar 2005, 09:26:22
take a look at this thread (http://www.ofpec.com/yabbse/index.php?board=8;action=display;threadid=22465).

an alternative way would be to create it within the editor, someplace far out of sight, cycling from one move waypoint to another, and then setpos'ing it into place.
Title: Re:Create Aircraft Inflight
Post by: Taggart on 14 Mar 2005, 09:46:45
Super thanx, did a search, never finds what I'm looking for  ;D