ACE3/addons/fastroping/functions/fnc_moduleEquipFRIES.sqf
johnb432 8f46ffd8d5
General - Change count to forEach where appropriate (#9890)
count -> forEach

Co-authored-by: Grim <69561145+LinkIsGrim@users.noreply.github.com>
2024-04-04 08:15:26 -03:00

26 lines
468 B
Plaintext

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