mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
29 lines
751 B
Plaintext
29 lines
751 B
Plaintext
/**
|
|
* fn_endRadioTransmission_f.sqf
|
|
* @Descr: force end all radio transmissions by TFAR or ACRE
|
|
* @Author: Glowbal
|
|
*
|
|
* @Arguments: []
|
|
* @Return: nil
|
|
* @PublicAPI: true
|
|
*/
|
|
|
|
#include "script_component.hpp"
|
|
if (["acre_api"] call FUNC(isModLoaded_F)) then {
|
|
[-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;
|
|
};
|
|
|
|
if (["task_force_radio"] call FUNC(isModLoaded_F)) then {
|
|
call TFAR_fnc_onSwTangentReleased;
|
|
call TFAR_fnc_onAdditionalSwTangentReleased;
|
|
|
|
call TFAR_fnc_onLRTangentReleased;
|
|
call TFAR_fnc_onAdditionalLRTangentReleased;
|
|
|
|
call TFAR_fnc_onDDTangentReleased;
|
|
};
|
|
|
|
nil; |