ACE3/addons/mk6mortar/initKeybinds.inc.sqf

16 lines
502 B
Plaintext
Raw Permalink Normal View History

#include "\a3\ui_f\hpp\defineDIKCodes.inc"
["ACE3 Equipment", QGVAR(rangetable_action), LLSTRING(rangetable_action), {
if (
!([ACE_player, "ACE_RangeTable_82mm"] call EFUNC(common,hasItem)) ||
!([ACE_player, objNull, ["notOnMap", "isNotInside", "isNotSitting"]] call EFUNC(common,canInteractWith))
) exitWith {false};
// Close previously opened dialogs
closeDialog 0;
// Statement
[] call FUNC(rangeTableOpen);
true
}] call CBA_fnc_addKeybind; // Unbound