2023-09-12 18:58:10 +00:00
|
|
|
#include "..\script_component.hpp"
|
2015-11-26 13:56:19 +00:00
|
|
|
/*
|
|
|
|
* Author: BaerMitUmlaut
|
|
|
|
* Equips synched helicopters with a FRIES.
|
|
|
|
*
|
|
|
|
* Arguments:
|
|
|
|
* 0: Module <LOGIC>
|
|
|
|
*
|
|
|
|
* Return Value:
|
|
|
|
* None
|
|
|
|
*
|
|
|
|
* Example:
|
2016-02-21 18:43:29 +00:00
|
|
|
* [_module] call ace_fastroping_fnc_moduleEquipFRIES
|
2015-11-26 13:56:19 +00:00
|
|
|
*
|
|
|
|
* Public: No
|
|
|
|
*/
|
|
|
|
params ["_module"];
|
|
|
|
|
2016-02-22 13:40:04 +00:00
|
|
|
private _synchedUnits = synchronizedObjects _module;
|
2015-11-26 13:56:19 +00:00
|
|
|
{
|
|
|
|
if (_x isKindOf "CAManBase") then {
|
|
|
|
_x = vehicle _x;
|
|
|
|
};
|
2016-02-22 13:40:04 +00:00
|
|
|
[_x] call FUNC(equipFRIES);
|
2024-04-04 11:15:26 +00:00
|
|
|
} forEach _synchedUnits;
|