comp_uter15776 1 Posted July 27, 2013 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
Foxy 1 Posted July 27, 2013 How about using turretUnit. Share this post Link to post Share on other sites
comp_uter15776 1 Posted July 27, 2013 (edited) 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 July 27, 2013 by Comp_uter15776 Share this post Link to post Share on other sites
kylania 568 Posted July 27, 2013 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
comp_uter15776 1 Posted July 27, 2013 (edited) 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 July 27, 2013 by Comp_uter15776 Share this post Link to post Share on other sites
kylania 568 Posted July 27, 2013 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
comp_uter15776 1 Posted July 27, 2013 Yup, worked. For anyone elses' reference, check the previous edit I made. Share this post Link to post Share on other sites
comp_uter15776 1 Posted July 27, 2013 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