mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
27 lines
553 B
Plaintext
27 lines
553 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)},
|
|
[15, [false, false, false]],
|
|
false,
|
|
"keydown"] call cba_fnc_registerKeybind;
|
|
|
|
["ACE3",
|
|
"Interact Key",
|
|
{_this call FUNC(keyUp)},
|
|
[15, [false, false, false]],
|
|
false,
|
|
"keyUp"] call cba_fnc_registerKeybind; |