Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- _randPos = getmarkerPos "aoMarker";
- _cargo = "Land_Cargo_Tower_V2_F" createVehicle _randPos;
- _cargo enablesimulation false;
- _cargo allowdamage false;
- _building = _cargo;
- _allpositions = _building buildingPos -1;
- _posCount = count _allpositions;
- if(_posCount <=0) exitWith {};
- _newgroup = createGroup [east,true];
- _ind = 0;
- for "_i" from 1 to _posCount do {
- _soldiertype = selectRandom ["rhsgref_ins_specialist_aa","rhsgref_ins_grenadier_rpg","rhsgref_ins_machinegunner","rhsgref_ins_medic","rhsgref_ins_militiaman_mosin","rhsgref_ins_rifleman","rhsgref_ins_grenadier","rhsgref_ins_rifleman_RPG26"];
- _safeInner = _allpositions select _ind;
- _ind = _ind + 1;
- _tempSoldier1 = _newgroup createUnit [_soldiertype,_safeInner,[],0,"FORM"];
- _tempSoldier1 disableai "PATH";
- uiSleep 1.0;
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement