ACE3/addons/interact_menu/XEH_clientInit.sqf

18 lines
552 B
Plaintext
Raw Normal View History

2015-01-18 18:38:27 +00:00
//XEH_clientInit.sqf
#include "script_component.hpp"
_fnc = {
_this call FUNC(render);
};
addMissionEventHandler ["Draw3D", _fnc];
2015-01-18 18:38:27 +00:00
2015-03-05 07:32:26 +00:00
["ACE3", QGVAR(InteractKey), "Interact Key",
2015-01-18 18:38:27 +00:00
{_this call FUNC(keyDown)},
{_this call FUNC(keyUp)},
2015-03-05 07:32:26 +00:00
[219, [false, false, false]], false] call cba_fnc_addKeybind; //Left Windows Key
2015-02-18 21:58:06 +00:00
2015-03-05 07:32:26 +00:00
["ACE3", QGVAR(SelfInteractKey), "Self Actions Key",
2015-02-18 21:58:06 +00:00
{_this call FUNC(keyDownSelfAction)},
{_this call FUNC(keyUpSelfAction)},
2015-03-05 07:32:26 +00:00
[219, [false, true, false]], false] call cba_fnc_addKeybind; //Left Windows Key + Ctrl/Strg