OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Smoshy on 24 Sep 2003, 08:30:09

Title: Time for takeoff
Post by: Smoshy on 24 Sep 2003, 08:30:09
For the life of me I can't get a plane to takeoff from the Ia Trang Airfield. Is it because the airstrip goes from E-W rather than N-S? Any help would be appreciated.

Cheers
Smoshy
Title: Re:Time for takeoff
Post by: KyleSarnik on 24 Sep 2003, 20:43:33
Smoshy:

Islands can only have ONE runway that AI can use. On that Island I think its the one in the SE corner of the island. You could try using the setvelocity command to get him off the ground but there really isnt any way (unless someone has come up with one) to make them land on it... If you want to learn about setvelocity go check the command reference in the editors depot.
Title: Re:Time for takeoff
Post by: keou on 24 Sep 2003, 21:14:48
i believe that you can find out which airstrip works by setting the player (you) up in a plane already flying.  then select "auto landing" and watch where you land.
Title: Re:Time for takeoff
Post by: _Ross_ on 25 Sep 2003, 05:30:36
heres a way i gota plane to start in momentum at the right speed
plane is a plane with flying in the specail field
b is a game logic on a landing strip

a1 = getpos b select 0
a2 = getpos b select 1
a3 = getpos b select 2
plane setpos [aim1,aim2,aim3]

make sure the plane is starting in the right direction