Home   Help Search Login Register  

Author Topic: CamCreate @ Height Problem  (Read 633 times)

0 Members and 1 Guest are viewing this topic.

beowulf2014

  • Guest
CamCreate @ Height Problem
« 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

Offline LCD

  • Former Staff
  • ****
    • Everon Cartel
Re:CamCreate @ Height Problem
« Reply #1 on: 12 Jun 2003, 13:59:29 »
wat is da resault of ur current line ?

btw use createvehicle nd not camcreate 2 make da plane useable ;)

LCD OUT
"guess being the community has downsides .." - cheetah
Help Perfecting Da Next Best Thing - O-Team Beta

Offline MI_Fred

  • Members
  • *
  • AA
    • OFP Team Finlanders
Re:CamCreate @ Height Problem
« Reply #2 on: 12 Jun 2003, 17:59:59 »
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.
There's gooks over there, there's mines over there, and watch out those goddamn monkeys talk, I'll bite ya.

beowulf2014

  • Guest
Re:CamCreate @ Height Problem
« Reply #3 on: 12 Jun 2003, 22:12:15 »
Ty LCD that was a Typo I meant to say createVehicle not camcreate.. ;D

MI_Fred thanx ill give that a try!

beowulf2014

  • Guest
Re:CamCreate @ Height Problem
« Reply #4 on: 14 Jun 2003, 04:56:19 »
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