2016-05-30 16:37:03 +00:00
|
|
|
#include "script_component.hpp"
|
|
|
|
|
2024-03-28 18:57:23 +00:00
|
|
|
[QGVAR(handoff), LINKFUNC(handleHandoff)] call CBA_fnc_addEventHandler;
|
2017-02-10 19:01:17 +00:00
|
|
|
|
2024-08-30 06:12:55 +00:00
|
|
|
["ACE3 Weapons", QGVAR(cycleFireMode), LLSTRING(CycleFireMode), {
|
2017-02-10 19:01:17 +00:00
|
|
|
[] call FUNC(cycleAttackProfileKeyDown);
|
|
|
|
false
|
2021-05-08 08:49:07 +00:00
|
|
|
}, {
|
2017-02-10 19:01:17 +00:00
|
|
|
},
|
|
|
|
[15, [false, true, false]], false] call CBA_fnc_addKeybind; //Ctrl+Tab Key
|
2021-04-12 23:03:21 +00:00
|
|
|
|
2024-08-23 15:00:11 +00:00
|
|
|
|
2024-05-28 02:47:18 +00:00
|
|
|
// Each MCLOS argument is the vector which acceleration will be applied
|
2024-08-30 06:12:55 +00:00
|
|
|
["ACE3 Weapons", QGVAR(mclosUp), LLSTRING(mclosUp), {
|
|
|
|
[[0, 0, 1], ACE_player] call FUNC(mclosButtonPressed);
|
2024-05-28 02:47:18 +00:00
|
|
|
false
|
|
|
|
}, {
|
2024-08-30 06:12:55 +00:00
|
|
|
[[0, 0, -1], ACE_player] call FUNC(mclosButtonPressed);
|
2024-05-28 02:47:18 +00:00
|
|
|
},
|
|
|
|
[0x48, [false, false, false]], false, 0] call CBA_fnc_addKeybind; // Numpad 8
|
2021-04-16 21:43:31 +00:00
|
|
|
|
2024-08-30 06:12:55 +00:00
|
|
|
["ACE3 Weapons", QGVAR(mclosDown), LLSTRING(mclosDown), {
|
|
|
|
[[0, 0, -1], ACE_player] call FUNC(mclosButtonPressed);
|
2024-05-28 02:47:18 +00:00
|
|
|
false
|
|
|
|
}, {
|
2024-08-30 06:12:55 +00:00
|
|
|
[[0, 0, 1], ACE_player] call FUNC(mclosButtonPressed);
|
2024-05-28 02:47:18 +00:00
|
|
|
},
|
|
|
|
[0x50, [false, false, false]], false, 0] call CBA_fnc_addKeybind; // Numpad 2
|
|
|
|
|
2024-08-30 06:12:55 +00:00
|
|
|
["ACE3 Weapons", QGVAR(mclosLeft), LLSTRING(mclosLeft), {
|
|
|
|
[[1, 0, 0], ACE_player] call FUNC(mclosButtonPressed);
|
2024-05-28 02:47:18 +00:00
|
|
|
false
|
|
|
|
}, {
|
2024-08-30 06:12:55 +00:00
|
|
|
[[-1, 0, 0], ACE_player] call FUNC(mclosButtonPressed);
|
2024-05-28 02:47:18 +00:00
|
|
|
},
|
|
|
|
[0x4D, [false, false, false]], false, 0] call CBA_fnc_addKeybind; // Numpad 6
|
|
|
|
|
2024-08-30 06:12:55 +00:00
|
|
|
["ACE3 Weapons", QGVAR(mclosRight), LLSTRING(mclosRight), {
|
|
|
|
[[-1, 0, 0], ACE_player] call FUNC(mclosButtonPressed);
|
2024-05-28 02:47:18 +00:00
|
|
|
false
|
|
|
|
}, {
|
2024-08-30 06:12:55 +00:00
|
|
|
[[1, 0, 0], ACE_player] call FUNC(mclosButtonPressed);
|
2024-05-28 02:47:18 +00:00
|
|
|
},
|
|
|
|
[0x4B, [false, false, false]], false, 0] call CBA_fnc_addKeybind; // Numpad 4
|