ArmA 3 Create Random CfgGroups

ArmA 3 Forum, ArmA 3, ArmA 3 Config, ArmA 3 Missions, ArmA 3 3D Modeling, ArmA 3 Scripting, ArmA 3 Terrain, ArmA 3 Texturing, ArmA 3 Tools

2022-06-19T02:25:00Z

Create random CUP russian infantry group using CfgGroups and bis_fnc_spawnGroup function.

private _listGroups = "true" configClasses (configFile >> "CfgGroups" >> "East" >> "CUP_O_RU" >> "Infantry");
private _grp = [_pos, EAST, (selectRandom _listGroups)] call BIS_fnc_spawnGroup;