//Anzahl der zu spawnenden einheiten pro trigger:
_anz = 3;

_units = ["O_MRAP_02_hmg_F", "O_MRAP_02_gmg_F", "O_APC_Tracked_02_cannon_F", "O_APC_Wheeled_02_rcws_F"];

_spawnpos = (getPos (_this select 0));
_group = createGroup east;

_type = _units call bis_fnc_selectRandom;
_vehicle = _type createVehicle (_spawnpos);

for[{_x=0},{_x<_anz},{_x=_x+1}] do
{
    _unit = _group createUnit ["O_Soldier_F", _spawnpos, [], 0, "FORM"];
    _unit moveInCargo _vehicle;
    
};
_unit1 = _group createUnit ["O_Soldier_F", _spawnpos, [], 0, "FORM"];
_unit1 moveInDriver _vehicle;

_unit2 = _group createUnit ["O_Soldier_F", _spawnpos, [], 0, "FORM"];
_unit2 moveInGunner _vehicle;