Jump to content
Sign in to follow this  
ginecraftmod

Ejecting in Arma 3

Recommended Posts

I miss allot the ejecting out of aircrafts and then parachuting slowly down like in arma 2. I can only eject in arma 3 as passager in the back row but not as pilot and i don't even have a parachute. I miss the feature that much like the jets. ARMA 3 ADD IT>PRIDEJ TO :mad:

Share this post


Link to post
Share on other sites

You can fake it with this in your vehicles init:

this addAction ["Eject",{player action [ "eject", vehicle player]},[],1,false,true,"","_this in _target"];

Note you'll still wanna have a parachute on.

Share this post


Link to post
Share on other sites

Why wouldn't you just put it into a script?

eject.sqf:

while {true} do {

if (vehicle player != player) then {

player addAction ["Eject",{player action [ "eject", vehicle player]},[],1,false,true,"","_this in _target"];

sleep 3;

};

put in init.sqf:

execVM "eject.sqf";

tested and it works fine.... just don't use it without a parachute... or while going really fast... or you go flying all over the place....

Share this post


Link to post
Share on other sites

Why would you put something in a script that is constantly looping and sleeping when you don't have to? ArmA3 added the ability to inline code in addAction to avoid needing to use scripts. :)

Share this post


Link to post
Share on other sites
posting in old post but just wanted to say I wish this worked in heli

Easy to fix :

this addAction ["Eject",{player action [ "getOut", vehicle player]},[],1,false,true,"","_this in _target"];

And, if you want to limit this to the driver and avoid having two eject actions for passengers :

this addAction ["Eject",{player action [ "getOut", vehicle player]},[],1,false,true,"","_this == driver _target""];

Share this post


Link to post
Share on other sites
Easy to fix :

this addAction ["Eject",{player action [ "getOut", vehicle player]},[],1,false,true,"","_this in _target"];

And, if you want to limit this to the driver and avoid having two eject actions for passengers :

this addAction ["Eject",{player action [ "getOut", vehicle player]},[],1,false,true,"","_this == driver _target""];

this doesn't work on heli? (that's the problem), mmc mod has it in there, to swicht seats then you can eject, but its connected to a lot of dialogs not sure if it will work on its own.

but I think the way mcc is doing it is the only way, "switch seats then eject"...opps thought I tested this I gues it was a little difrent it worked now need it to respawn with action.

---------- Post added at 08:14 AM ---------- Previous post was at 07:29 AM ----------

Why wouldn't you just put it into a script?

eject.sqf:

while {true} do {

if (vehicle player != player) then {

player addAction ["Eject",{player action [ "eject", vehicle player]},[],1,false,true,"","_this in _target"];

sleep 3;

};

put in init.sqf:

execVM "eject.sqf";

tested and it works fine.... just don't use it without a parachute... or while going really fast... or you go flying all over the place....

while {true} do {
if (vehicle player != player) then {
player addAction ["Eject",{player action [ "getOut", vehicle player]},[],1,false,true,"","_this in _target"];
sleep 3;
};

this isn't working ...

---------- Post added at 09:09 AM ---------- Previous post was at 08:14 AM ----------

k, I fixed it I added to a fnc I use for textures.:yay:

Edited by Dr Death JM

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  

×