ACE3/addons/interact_menu/XEH_clientInit.sqf
2015-03-05 01:32:26 -06:00

18 lines
552 B
Plaintext

//XEH_clientInit.sqf
#include "script_component.hpp"
_fnc = {
_this call FUNC(render);
};
addMissionEventHandler ["Draw3D", _fnc];
["ACE3", QGVAR(InteractKey), "Interact Key",
{_this call FUNC(keyDown)},
{_this call FUNC(keyUp)},
[219, [false, false, false]], false] call cba_fnc_addKeybind; //Left Windows Key
["ACE3", QGVAR(SelfInteractKey), "Self Actions Key",
{_this call FUNC(keyDownSelfAction)},
{_this call FUNC(keyUpSelfAction)},
[219, [false, true, false]], false] call cba_fnc_addKeybind; //Left Windows Key + Ctrl/Strg