Jump to content
Sign in to follow this  
comp_uter15776

MoveInTurret etc

Recommended Posts

Hey all,

I browsed these forums and found that stuff like player moveinturret blah will put a player in a copilot seat of a helicopter, but is there any way of checking that a player is there? I only ask as using gunner or commander don't work when checking for a copilot in helos such as the MH-9.

Regards,

Harry

Share this post


Link to post
Share on other sites

Cheers, for some reason that was more obscured than the other positions in vehicles.

I'll get back shortly with an edit on its effectiveness!

EDIT: Forget previous error. I am led to believe it was the effect of human error :x

---------- Post added at 19:01 ---------- Previous post was at 18:41 ----------

Despite my edit, I can't seem to fathom what the array would be for an xH-9, or Ghosthawk, for the copilot seat.

Edited by Comp_uter15776

Share this post


Link to post
Share on other sites

Move in co-pilot:

player moveInTurret [hb, [0]];

Who is in co-pilot:

_coPilot = hb turretUnit [0];

Share this post


Link to post
Share on other sites

I asume I'm defining hb?

EDIT: Thanks kylania :) The ironic thing is, I think the basis for my script uses help from you anyway! _v was my vehicle var so I simply did

 _v turretUnit [0];

and that was fine. I guess I went straight to [1] rather than testing [0] for the seating arrangements...

Edited by Comp_uter15776

Share this post


Link to post
Share on other sites

Yeah, hb was the name of the helicopter. :) Worked for MH-9 and UH-80.

Share this post


Link to post
Share on other sites

local at least! ;)

Pilots can pilot, crewmen can crew comes to mind... :p

<Although I acknowledge it wasn't your creation!>

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×