From 1e23e17e98721e85b026dcab4012feea8e93a3f7 Mon Sep 17 00:00:00 2001 From: vbawol Date: Mon, 25 Apr 2016 21:26:30 -0500 Subject: [PATCH] Update EPOCH_supportCopter.sqf --- Sources/epoch_code/compile/EPOCH_supportCopter.sqf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/epoch_code/compile/EPOCH_supportCopter.sqf b/Sources/epoch_code/compile/EPOCH_supportCopter.sqf index 50920082..62b3a16b 100644 --- a/Sources/epoch_code/compile/EPOCH_supportCopter.sqf +++ b/Sources/epoch_code/compile/EPOCH_supportCopter.sqf @@ -41,7 +41,7 @@ getNumber (getMissionConfig "CfgEpochUAVSupport" >> "maxGeneral") _units = []; for "_i" from 0 to (_unitCount - 1) do { - _unit = _grp createUnit[(_arrUnits select (floor random count _arrUnits)), _pos, [], 0, "FORM"]; + _unit = _grp createUnit[selectRandom _arrUnits, _pos, [], 0, "FORM"]; _units pushBack _unit; //_unit setSkill 0.6;