mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Refactored interaction key handling while boarded:
- Self-interaction key opens up your own self interaction menu - Interaction key opens interaction options of the vehicle and passengers
This commit is contained in:
@ -44,7 +44,7 @@ if((count _this) > 2) then {
|
||||
};
|
||||
|
||||
// For non-self actions, exit if the action is too far away
|
||||
if (GVAR(keyDown) &&
|
||||
if (GVAR(openedMenuType) == 0 && vehicle ACE_player == ACE_player &&
|
||||
{(ACE_player modelToWorld (ACE_player selectionPosition "pilot")) distance _pos >= _distance}) exitWith {false};
|
||||
|
||||
// Exit if the action is behind you
|
||||
|
Reference in New Issue
Block a user