mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
310710b6e2
- Store only one compiled menu per class - Actions added through apis for invidual objects stored on the object separately - Replaced the concept of uids by paths. This allows adding/removing actions inside other actions loaded from config seamlessly. - Temporarily removed caching of nearby actions (probe). We may go back to that if needed pretty easily. This allows the player to move freely with the interaction menu opened.
35 lines
712 B
Plaintext
35 lines
712 B
Plaintext
//XEH_clientInit.sqf
|
|
#include "script_component.hpp"
|
|
|
|
_fnc = {
|
|
_this call FUNC(render);
|
|
};
|
|
addMissionEventHandler ["Draw3D", _fnc];
|
|
|
|
["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; |