2016-05-30 16:37:03 +00:00
|
|
|
#include "script_component.hpp"
|
|
|
|
|
2016-06-09 12:24:45 +00:00
|
|
|
[QGVAR(handoff), {_this call FUNC(handleHandoff)}] call CBA_fnc_addEventHandler;
|
2017-02-10 19:01:17 +00:00
|
|
|
|
|
|
|
["ACE3 Weapons", QGVAR(cycleFireMode), localize LSTRING(CycleFireMode),
|
|
|
|
{
|
|
|
|
[] call FUNC(cycleAttackProfileKeyDown);
|
|
|
|
false
|
|
|
|
},
|
|
|
|
{
|
|
|
|
false
|
|
|
|
},
|
|
|
|
[15, [false, true, false]], false] call CBA_fnc_addKeybind; //Ctrl+Tab Key
|
2021-04-12 23:03:21 +00:00
|
|
|
|
|
|
|
GVAR(dev_fnc_projectileCamera) = compile preprocessFileLineNumbers QPATHTOF(dev\projectileCamera.sqf);
|
2021-04-16 21:43:31 +00:00
|
|
|
|
2021-04-21 21:53:52 +00:00
|
|
|
if (!hasInterface) exitWith {};
|
|
|
|
|
|
|
|
["ace_settingsInitialized", {
|
|
|
|
["turret", LINKFUNC(gps_setupVehicle), false] call CBA_fnc_addPlayerEventHandler;
|
|
|
|
["vehicle", LINKFUNC(gps_setupVehicle), true] call CBA_fnc_addPlayerEventHandler; // only one of these needs the retro flag
|
|
|
|
|
|
|
|
// Add UAV Control Compatibility
|
|
|
|
["ACE_controlledUAV", {
|
|
|
|
params ["_UAV", "_seatAI", "_turret", "_position"];
|
|
|
|
TRACE_4("ACE_controlledUAV EH",_UAV,_seatAI,_turret,_position);
|
|
|
|
if (!isNull _seatAI) then {
|
|
|
|
[_seatAI] call FUNC(gps_setupVehicle);
|
|
|
|
};
|
|
|
|
}] call CBA_fnc_addEventHandler;
|
|
|
|
}] call CBA_fnc_addEventHandler;
|
|
|
|
|