make some key events non blocking to allow some actions to share keybinds

This commit is contained in:
Nicolás Badano 2015-01-20 01:12:30 -03:00
parent 3bdd706e5d
commit a5ac89dcb1
4 changed files with 11 additions and 6 deletions

View File

@ -16,7 +16,8 @@ GVAR(position) = [0,0,0];
// Statement
[vehicle ACE_player] call FUNC(keyDown);
true
// Return false so it doesn't block the rest weapon action
false
},
[15, [false, false, false]],
false,
@ -34,7 +35,7 @@ GVAR(position) = [0,0,0];
// Statement
[vehicle ACE_player] call FUNC(keyUp);
true
false
},
[15, [false, false, false]],
false,

View File

@ -81,7 +81,8 @@ GVAR(isOpeningDoor) = false;
// Statement
ACE_Modifier = 1;
true
// Return false so it doesn't block other actions
false
},
[29, [false, false, false]],
false,
@ -97,7 +98,8 @@ GVAR(isOpeningDoor) = false;
// Statement
ACE_Modifier = 0;
true
// Return false so it doesn't block other actions
false
},
[29, [false, false, false]],
false,

View File

@ -15,7 +15,8 @@ if (!hasInterface) exitWith {};
// Statement
GVAR(ShowNamesTime) = time;
if (call FUNC(canShow)) then{ call FUNC(doShow); };
true
// Return false so it doesn't block other actions
false
},
[29, [false, false, false]],
false,

View File

@ -18,7 +18,8 @@ if !(hasInterface) exitWith {};
// Statement
[ACE_player, vehicle ACE_player, currentWeapon ACE_player] call FUNC(restWeapon);
true
// Return false so it doesn't block other actions
false
},
[15, [false, false, false]],
false,