/*
make.sqf;
Version: 110 [07, 06, 2008];
Author(s): Rommel
Execution: nul = [WEST,"SoldierWB",(position Gulan),[],"FORM",10] execVM "make.sqf";
*/
_side = _this select 0;
_type = _this select 1;
_position = _this select 2;
_markers = _this select 3;
_special = _this select 4;
_pool = ["SquadLeaderW","SoldierWB","SoldierWG","SoldierWAT","SoldierWMG","SoldierWG","SoldierWMedic","SoldierWG","SoldierWG","SoldierWG","SoldierWG","SoldierWMG"];
_group = createGroup _side;
{
_man = _group createUnit [_x, _position, _markers, 0, _special];
[_man,_position] spawn
{
_para = _this select 0;
_pos = _this select 1;
_chute = "ParachuteC" createVehicle _pos;
_chute setPos [(_pos select 0) + (50 - random 100), (_pos select 1) + (50 - random 100),(_pos select 2) + 200];
_para moveInDriver _chute;
};
} forEach _pool;
_group