OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: instinct on 13 May 2005, 10:48:38

Title: starting higher
Post by: instinct on 13 May 2005, 10:48:38
hi, i  want to use hawks nimitz in a mission, how do i get the planes helicopters etc to start at the same height as the deck?
Title: Re:starting higher
Post by: bedges on 13 May 2005, 10:52:49
take a look at the setpos (http://www.ofpec.com/editors/comref.php?letter=S#setPos) command.
Title: Re:starting higher
Post by: StonedSoldier on 13 May 2005, 12:53:04
ive found 19m to be the ideal height when working with the Nimitz

so something like;
Code: [Select]
this setpos [getpos this select 0,getpos this select 1,(getpos this select 2)+19]should work smoothly
Title: Re:starting higher
Post by: instinct on 13 May 2005, 14:02:03
thanks guys! ;D that worked like a charm, now i'll
 find me some ground crew... 8)