Well, the problem here seems to be that it spawns one complete AA tank platoon(2x t100, 2x tigres). The infantry groups that spawn varies from 0 to 2, so it can be either 0,1 or 2 groups if I'm not mistaken.
what you could to is something like this:
_x = 0;
for "_x" from 0 to 2 do
{
_randomPos = [_flatPos, 50,6] call aw_fnc_randomPos;
_spawnGroup = [_randomPos, EAST, (configfile >> "CfgVehicles" >> "O_MBT_02_base_F")] call BIS_fnc_spawnGroup;
[_spawnGroup, _flatPos, 100] call aw_fnc_spawn2_randomPatrol;
[(units _spawnGroup)] call aw_setGroupSkill;
_unitsArray = _unitsArray + [_spawnGroup];
};
_x = 0;
for "_x" from 0 to 2 do
{
_randomPos = [_flatPos, 50,6] call aw_fnc_randomPos;
_spawnGroup = [_randomPos, EAST, (configfile >> "CfgVehicles" >> "O_APC_Tracked_02_AA_F")] call BIS_fnc_spawnGroup;
[_spawnGroup, _flatPos, 100] call aw_fnc_spawn2_randomPatrol;
[(units _spawnGroup)] call aw_setGroupSkill;
_unitsArray = _unitsArray + [_spawnGroup];
};
I'm going to assume you are using 2.77L_C, if not it will be similar in other versions.
1. Open this .sqf: co45_AW_Invade_Annex_2_77L_C.Altis\scripts\=BTC=_revive\=BTC=_revive_init.sqf
2. With in the "=BTC=_revive_init.sqf" go to line 21. it should say: BTC_who_can_revive = ["B_medic_F","B_recon_medic_F"];
3. Replace the: "B_medic_F","B_recon_medic_F" part with "man"
4. Save it and you're set.