// supplies player with requested unit - redundant?

_player = _this select 0;
_unitype = _this select 1;
_grp = group _player;

_pos = position _player;

//_unit = group _player createUnit [_unitype, [0,0,0], [], 0, "NONE"];Sleep EGG_EVO_GlobalSleep;

//temp
_unit = group _player createUnit [_unitype, _pos, [], 10, "NONE"];Sleep EGG_EVO_GlobalSleep;
_lone = [_unit] execVM 'scripts\support\nohuman.sqf';

////adding temp _unit setpos [(_pos select 0)+15 ,(_pos select 1)+10,(_pos select 2)];

//temp pausing scripts as parachutes dont work
_vec = createVehicle ["B_Parachute_F", _pos, [], 20, 'NONE'];Sleep EGG_EVO_GlobalSleep;
_vec setpos [_pos select 0,_pos select 1,(_pos select 2)+ 100];
_unit MoveInDriver _vec;
WaitUntil {vehicle _unit == _unit};
_unit setpos [(getpos _unit select 0),(getpos _unit select 1),0];
_unit setDamage 0;

[_unit] join _grp;
EGG_EVO_runit = _unit;
publicVariable "EGG_EVO_runit";
