mirror of
https://github.com/Bjanski/ExAd.git
synced 2024-08-30 16:52:14 +00:00
Changed 'X' to 'V'
Makes it safer for players not to eject when doing multiple actions e.g. Looking around, thrusting up and autohover/vectoring
This commit is contained in:
parent
7ca7a126df
commit
48f8ffeafd
@ -42,7 +42,7 @@ if(isNil "ExAd_ACTION_EJECT_HEIGHT")then{ExAd_ACTION_EJECT_HEIGHT = 0;};
|
||||
|
||||
if(ExAd_HALOPARACHUTE_USE_KEY_ACTIONS)then{
|
||||
ExAd_ACTION_HALOPARACHUTE_USE_KEY_ACTIONS = (findDisplay 46) displayAddEventHandler ["KeyDown",{
|
||||
if(_this select 1 == 45 && _this select 2 && _this select 4)then{
|
||||
if(_this select 1 == 47 && _this select 2 && _this select 4)then{
|
||||
if((getPos player) select 2 > ExAd_ACTION_EJECT_HEIGHT && vehicle player != player)then{
|
||||
call ExAd_fnc_ejectPlayer
|
||||
}else{
|
||||
@ -64,4 +64,4 @@ if(isNil "ExAd_ACTION_EJECT_HEIGHT")then{ExAd_ACTION_EJECT_HEIGHT = 0;};
|
||||
(findDisplay 46) displayRemoveEventHandler ["KeyDown", ExAd_ACTION_HALOPARACHUTE_USE_KEY_ACTIONS];
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user