2018-09-17 19:19:29 +00:00
|
|
|
#include "script_component.hpp"
|
2015-01-11 16:42:31 +00:00
|
|
|
/*
|
|
|
|
* Author: commy2
|
|
|
|
*
|
2017-12-08 16:44:24 +00:00
|
|
|
* End radio transmissions of addons TFAR and ACRE2. TFAR v0.9.x, ACRE Public Beta 2.0.3.571
|
2015-01-11 16:42:31 +00:00
|
|
|
*
|
|
|
|
* Arguments:
|
2015-09-20 18:25:25 +00:00
|
|
|
* None
|
2015-01-11 16:42:31 +00:00
|
|
|
*
|
|
|
|
* Return Value:
|
2015-09-20 18:25:25 +00:00
|
|
|
* None
|
2015-01-11 16:42:31 +00:00
|
|
|
*
|
2017-06-08 13:31:51 +00:00
|
|
|
* Example:
|
|
|
|
* call ace_common_fnc_endRadioTransmission
|
|
|
|
*
|
2015-09-20 18:25:25 +00:00
|
|
|
* Public: No
|
2015-01-11 16:42:31 +00:00
|
|
|
*/
|
|
|
|
|
2017-12-08 16:44:24 +00:00
|
|
|
["ace_endRadioTransmissions"] call CBA_fnc_localEvent;
|
|
|
|
|
2015-01-11 16:42:31 +00:00
|
|
|
// ACRE
|
|
|
|
if (isClass (configFile >> "CfgPatches" >> "acre_main")) then {
|
2015-04-11 21:10:30 +00:00
|
|
|
[-1] call acre_sys_core_fnc_handleMultiPttKeyPressUp;
|
|
|
|
[0] call acre_sys_core_fnc_handleMultiPttKeyPressUp;
|
|
|
|
[1] call acre_sys_core_fnc_handleMultiPttKeyPressUp;
|
|
|
|
[2] call acre_sys_core_fnc_handleMultiPttKeyPressUp;
|
2015-01-11 16:42:31 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
// TFAR
|
|
|
|
if (isClass (configFile >> "CfgPatches" >> "task_force_radio")) then {
|
2015-02-19 18:14:52 +00:00
|
|
|
call TFAR_fnc_onSwTangentReleased;
|
|
|
|
call TFAR_fnc_onAdditionalSwTangentReleased;
|
|
|
|
call TFAR_fnc_onLRTangentReleased;
|
|
|
|
call TFAR_fnc_onAdditionalLRTangentReleased;
|
|
|
|
call TFAR_fnc_onDDTangentReleased;
|
2015-01-11 16:42:31 +00:00
|
|
|
};
|