OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: beowulf2014 on 12 Jun 2003, 11:22:51
-
ok, I have a mission using the Hermes aircraft carrier addon. I want to be able to "set" a plane on deck using radio triggers. Now I have been able to get respawn on deck for vehicles and soldiers. But Im wanting to use a camcreate as to make a list of different aircraft that can be made. Here is the problem I am having. I can get the vehicle to create, but i cant get it to create On the carrier it puts it under it...here is my line
F18Amraam="rad_hornet_amraamb" createVehicle [getpos plane1 select 0, getpos plane1 select 1, 12]
now "plane1" is a gamelogic name put on over the carrier. Now of course depending on the aircraft will change the camcreate name...but all im worried about is actually getting it on deck! Which by the way is 12m off the surface...thanx for any help ;D
-
wat is da resault of ur current line ?
btw use createvehicle nd not camcreate 2 make da plane useable ;)
LCD OUT
-
the create***** commands have a failsafe so you don't create vehicles inside others. IE they are created besides them, or in your case... umm below? wow ;D It's that Hermes...
You must setPos it there. so it doesn't matter where you create it, usually I do it at [0,0,0] and then setPos it to place.
-
Ty LCD that was a Typo I meant to say createVehicle not camcreate.. ;D
MI_Fred thanx ill give that a try!
-
MI_Fred,
I wanted to let you know that it works perfectly now for me ;D
What i did was this right here:
F18amraam="Rad_Hornet_AMRAAMg" createVehicle [0,0,0]
F18amraam setpos [getpos plane select 0, getpos plane select 1, (getpos plane select 2) +12]
F18amraam setdir 190
F18amraam exec "start.sqs"
the start.sqs is just a effects script for smoke and such :)
Thank you for taking the time to answer a simple question bro
HOOOAHHH