ACE3/addons/fastroping/functions/fnc_moduleEquipFRIES.sqf
2016-02-22 14:40:04 +01:00

28 lines
474 B
Plaintext

/*
* Author: BaerMitUmlaut
* Equips synched helicopters with a FRIES.
*
* Arguments:
* 0: Module <LOGIC>
*
* Return Value:
* None
*
* Example:
* [_module] call ace_fastroping_fnc_moduleEquipFRIES
*
* Public: No
*/
#include "script_component.hpp"
params ["_module"];
private _synchedUnits = synchronizedObjects _module;
{
if (_x isKindOf "CAManBase") then {
_x = vehicle _x;
};
[_x] call FUNC(equipFRIES);
false
} count _synchedUnits;