Moon_chilD 200 Posted June 28, 2014 Hey guys, for a mission I would like to have a plane flying above Altis. Know I want to be able to teleport into the gunner seat (or pilot) of that plane from the ground. (Via Scroll menu) How could I do that? Many Greetings Moony Share this post Link to post Share on other sites
flyinpenguin 30 Posted June 28, 2014 event handler on respawn to add an addaction (or if you dont want it on respawn, just add it once at the start, no event handler). In the add action, use the moveInDriver or moveInGunner for the specified aircraft. Share this post Link to post Share on other sites
Grumpy Old Man 3540 Posted June 28, 2014 or you could set the jet to playable and switch to the plane with the teamswitch hotkey (default: U) Share this post Link to post Share on other sites
Moon_chilD 200 Posted June 28, 2014 @flyinpenguin: I don't want it on respawn. It should be within a mission. The player then scrolls on a laptop and gets the action to get in the plane. could you please get more detailed? @.@ (I never worked wit an event handler >.<") @Grumpy Old Man: The plane - if possible - shouldn't be a playable unit! Share this post Link to post Share on other sites
Grumpy Old Man 3540 Posted June 28, 2014 Uh so you want to control the plane but don't want it to be playable? Can you be a bit more specific? Share this post Link to post Share on other sites
Moon_chilD 200 Posted June 28, 2014 Do be a 100% true, I just want to sit in the back/copilot but I won't actually fly it ^^ Share this post Link to post Share on other sites
Grumpy Old Man 3540 Posted June 28, 2014 Don't know about AddOn planes, but there's no two seated jet in vanilla A3. Share this post Link to post Share on other sites
Moon_chilD 200 Posted June 28, 2014 I should have said thats it is an addon plane. It shouldn't matter anyways! ^^ Share this post Link to post Share on other sites
flyinpenguin 30 Posted June 28, 2014 (edited) this addAction ["Teleport to plane", {player moveInDriver Plane1;}]; Add this to your laptop's init. Note that you must name the plane "Plane1" for this to work. I only wrote this quickly so it might not define Plane1 correctly or be able to use player. Let me know if it works or not. This is to fly the plane. Dependant on whether you want to sit in the back of the plane, then use whatever function necessary. If the seat availible is a gunner seat, then use moveInGunner instead. If its a passenger seat, use moveInCargo. If you are not sure, try moveInAny. Edited June 28, 2014 by flyinpenguin Share this post Link to post Share on other sites
Moon_chilD 200 Posted June 28, 2014 It doesn't work. I tried that to before. It just doesn't do anything! Share this post Link to post Share on other sites
Lala14 135 Posted June 29, 2014 this addAction ["Teleport to plane", {(_this select 1) moveInDriver Plane1;}]; but you would also have to first eject the pilot so we could do but you better want to make sure that that isnt a player xD. this addAction ["Teleport to plane", {deleteVehicle (driver Plane1); (_this select 1) moveInDriver Plane1;}]; Another thing is if you want maybe this is a C-130 we could add the player to the "Back" this addAction ["Teleport to plane", {(_this select 1) moveInCargo Plane1;}]; Share this post Link to post Share on other sites
Moon_chilD 200 Posted July 4, 2014 Thanks alot, for the C-17 the last one works wonderful ^^ Share this post Link to post Share on other sites