OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Hitekrednek on 03 May 2004, 23:10:49

Title: Placing jet on aircraft carrier
Post by: Hitekrednek on 03 May 2004, 23:10:49
I searched several times ... but i couldnt find what i was looking for ... i have the uss nimitz and i want to place the f-18 on it along with some units ... but when you put them there and preveiw the game of course youre under the aircraftcarrier and drowning under the ship ... i know you have to set the height of the units somehow ... but im not sure how ... please help me ...

thanks in advance,
       Hitek
Title: Re:Placing jet on aircraft carrier
Post by: Wildcat22 on 03 May 2004, 23:14:56
I guess something like     this setpos [getpos this select 0, getpos this select 1, 5*]

*(the height, for example)

I'm not sure but I think it goes this way...
Title: Re:Placing jet on aircraft carrier
Post by: Hitekrednek on 03 May 2004, 23:35:23
Yes!! that's it!! I got it ... by the way if you have the uss nimitz and you want to place and object on the landing deck i know the exact height to go with it ... just put ...

 this setpos [getpos this select 0, getpos this select 1, 19]  ... 19 will make you perfectly on top of the deck ... thanks a bunch!! i want to make a mission but i have a loooooooot to learn before i can do it like i want it.  i wish i could get some ppl to help me ... but i dont want my idea stolen ... i have already tried to contact toadlife but i havent heard from him yet ... any ... thanks again!!

Hitek