mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
41 lines
855 B
Plaintext
41 lines
855 B
Plaintext
//XEH_clientInit.sqf
|
|
#include "script_component.hpp"
|
|
|
|
_fnc = {
|
|
_this call FUNC(render);
|
|
};
|
|
// [_fnc, 0, []] call cba_fnc_addPerFrameHandler;
|
|
addMissionEventHandler ["Draw3D", _fnc];
|
|
|
|
_fnc = {
|
|
_this call FUNC(probe);
|
|
};
|
|
[_fnc, 0.5, []] call cba_fnc_addPerFrameHandler;
|
|
|
|
["ACE3",
|
|
"Interact Key",
|
|
{_this call FUNC(keyDown)},
|
|
[219, [false, false, false]],
|
|
false,
|
|
"keydown"] call cba_fnc_registerKeybind;
|
|
|
|
["ACE3",
|
|
"Interact Key",
|
|
{_this call FUNC(keyUp)},
|
|
[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]],
|
|
false,
|
|
"keyUp"] call cba_fnc_registerKeybind; |