OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Isaioux2x on 18 May 2004, 02:40:01
-
How do I make AI take-off from Airports? :P
I've been using a set-velocity type script I made, i'm just thinking theres an easier way.
-
There is. :)
First of all you must have a working airfield: there is a maximum of one per island.* The runway is always north-south. Put your plane on the taxiway, facing south. Give him a waypoint somewhere miles away and the pilot will figure it out for himself.
* In the north on Everon and Malden, in the southwest on Nogova.
-
Hey Isaioux2x, put the plane (Su25/A10/whatever) on the taxiway adjacent to the main runway (make sure the plane is facing in the same direction as the arrows on the taxiway).
The AI should taxi onto the runway and take off. However, I think if you leave the AI to it's own devices it just takes off and keeps going so you might wanna give it some waypoints... :)
This only works on some of the runways. Others, like the one on the island to the North of Nogova, just don't work...
That said, I think if you give a plane a big enough space anywhere and give it a move waypoint, it will take off and go to the waypoint. Doesn't have to be a runway...
-
Hmm, that would explain why he kept going off the runway. When directly placed on it. Thanks.