OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: TheMJ on 15 Jan 2005, 20:23:09

Title: Keep aircraft from taking off (from runway) by default
Post by: TheMJ on 15 Jan 2005, 20:23:09
I've been searching and still haven't figured out a way to keep an aircraft (say the A-10) that is placed on a taxiway from automatically taking off.  What I would like it to do is just stay on the taxiway until I use Radio-1.  If this information is somewhere please show me where it is instead of flaming me  ;D
Title: Re:Keep aircraft from taking off (from runway) by default
Post by: penguinman on 15 Jan 2005, 20:27:10
just make its fuel 0 when u place it and then make a radio alpha trigger and put

A10 setFuel 1


where"A10" is put the name of your plane

syntax garenteed
Title: Re:Keep aircraft from taking off (from runway) by default
Post by: TheMJ on 15 Jan 2005, 20:29:03
the problem with that is the AI pilot reports he is out of fuel and a fuel truck comes rolling by and refuels him
Title: Re:Keep aircraft from taking off (from runway) by default
Post by: Dane on 15 Jan 2005, 20:30:35
You can set its fuel to zero and when you want it to take off put this in a triggers activation field NameOfAircraft setFuel 1.