OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Hidden Death on 27 Jul 2004, 21:59:30

Title: How do i put planes on carrier
Post by: Hidden Death on 27 Jul 2004, 21:59:30
Hey im making a mission and its all most dont all i need to do is figure how to put a Rad F-18 Hornet on the Nimeitz carrie for the mission can anyone help?
Title: Re:How do i put planes on carrier
Post by: Peter_Bullet on 27 Jul 2004, 23:09:34
I have both addons installed but I have never used the carrier... :P

If you want the plane just on the deck, then use this command on the planes init field:

this setPos [(getPos this select 0),(getPos this select 1),Z]

where z is the height in wich the plane will be placed... Place it high enough and you get it on the carrier :P See some scripting tutorials to understand those "getpos this select 0 things, If you are interested.... ;)
Title: Re:How do i put planes on carrier
Post by: Hidden Death on 28 Jul 2004, 04:38:17
Thanks Man I hope you lIke my mission when it comes out.
Title: Re:How do i put planes on carrier
Post by: Peter_Bullet on 28 Jul 2004, 08:46:17
You're welcome, and I think so, 'cause I like flying planes and helicopters ;)
Title: Re:How do i put planes on carrier
Post by: Hidden Death on 29 Jul 2004, 06:31:57
Mission Is Ready for Beta Tesing will post in Beta on Beta test Section Keep a eye out for it