mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
9ff5d34ce7
* add isModLoaded cache * add missing brackets * missed one * Update fnc_handlePunjiTrapDamage.sqf * Update fnc_isModLoaded.sqf Co-authored-by: PabstMirror <pabstmirror@gmail.com>
40 lines
1.1 KiB
Plaintext
40 lines
1.1 KiB
Plaintext
#include "script_component.hpp"
|
|
/*
|
|
* Author: commy2
|
|
*
|
|
* End radio transmissions of addons TFAR and ACRE2. TFAR v0.9.x, ACRE Public Beta 2.0.3.571, TFAR v1.0.-1.x
|
|
*
|
|
* Arguments:
|
|
* None
|
|
*
|
|
* Return Value:
|
|
* None
|
|
*
|
|
* Example:
|
|
* call ace_common_fnc_endRadioTransmission
|
|
*
|
|
* Public: No
|
|
*/
|
|
|
|
["ace_endRadioTransmissions"] call CBA_fnc_localEvent;
|
|
|
|
// ACRE
|
|
if (["acre_main"] call FUNC(isModLoaded)) 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;
|
|
};
|
|
|
|
// TFAR
|
|
if (["task_force_radio"] call FUNC(isModLoaded)) then {
|
|
if (["tfar_core"] call FUNC(isModLoaded)) exitWith { // Beta TFAR, exit to avoid script errors from legacy functions not existing
|
|
ACE_Player call TFAR_fnc_releaseAllTangents;
|
|
};
|
|
call TFAR_fnc_onSwTangentReleased;
|
|
call TFAR_fnc_onAdditionalSwTangentReleased;
|
|
call TFAR_fnc_onLRTangentReleased;
|
|
call TFAR_fnc_onAdditionalLRTangentReleased;
|
|
call TFAR_fnc_onDDTangentReleased;
|
|
};
|