2018-09-17 19:19:29 +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);
|
2015-11-26 13:56:19 +00:00
|
|
|
false
|
|
|
|
} count _synchedUnits;
|