ACE3/addons/interact_menu/XEH_clientInit.sqf

35 lines
712 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
["ACE3",
"Interact Key",
{_this call FUNC(keyDown)},
2015-02-18 21:58:06 +00:00
[219, [false, false, false]],
2015-01-18 18:38:27 +00:00
false,
"keydown"] call cba_fnc_registerKeybind;
["ACE3",
"Interact Key",
{_this call FUNC(keyUp)},
2015-02-18 21:58:06 +00:00
[219, [false, false, false]],
false,
"keyUp"] call cba_fnc_registerKeybind;
["ACE3",
"Self Actions Key",
{_this call FUNC(keyDownSelfAction)},
[219, [false, true, false]],
false,
"keydown"] call cba_fnc_registerKeybind;
["ACE3",
"Self Actions Key",
{_this call FUNC(keyUpSelfAction)},
[219, [false, true, false]],
2015-01-18 18:38:27 +00:00
false,
"keyUp"] call cba_fnc_registerKeybind;