1. Go into the editor.
2. Place a player unit and preview.
3. In the debug console, execute the following to create a BLUFOR group with 30 O_Soldier_F (OPFOR) units, 30 meters in front of the player:
_group = createGroup opfor; for [{_i = 0}, {_i < 30}, {_i = _i + 1}] do { _group createUnit ["B_Soldier_F", [getPos player, [vectorDir player, 30] call BIS_fnc_vectorMultiply] call BIS_fnc_vectorAdd, [], 0, "NONE"]; }
4. Watch the group self-destruct.