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
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include "script_component.hpp"
|
|
|
|
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);
|
2015-11-26 13:56:19 +00:00
|
|
|
false
|
|
|
|
} count _synchedUnits;
|