sleep 5;
_unit = _this select 0;
_unit disableAI "anim";
_unit switchmove "amovpercmevasnonwnondf";
_unit setDir ([_unit, getmarkerpos "WP1"] call BIS_fnc_dirTo);
waituntil {1 > _unit distance getmarkerpos "WP1"};
_unit setDir ([_unit, getmarkerpos "WP2"] call BIS_fnc_dirTo);
waituntil {1 > _unit distance getmarkerpos "WP2"};
_unit setDir ([_unit, getmarkerpos "WP3"] call BIS_fnc_dirTo);
waituntil {1 > _unit distance getmarkerpos "WP3"};
_unit setDir ([_unit, getmarkerpos "WP4"] call BIS_fnc_dirTo);
waituntil {1 > _unit distance getmarkerpos "WP4"};
_unit setDir ([_unit, getmarkerpos "WP5"] call BIS_fnc_dirTo);
waituntil {1 > _unit distance getmarkerpos "WP5"};
_unit setDir ([_unit, getmarkerpos "WP6"] call BIS_fnc_dirTo);
waituntil {1 > _unit distance getmarkerpos "WP6"};
_unit setDir ([_unit, getmarkerpos "WP7"] call BIS_fnc_dirTo);
waituntil {1 > _unit distance getmarkerpos "WP7"};
_unit setDir ([_unit, getmarkerpos "WP8"] call BIS_fnc_dirTo);
waituntil {1 > _unit distance getmarkerpos "WP8"};
_unit setDir ([_unit, getmarkerpos "WP9"] call BIS_fnc_dirTo);
waituntil {1 > _unit distance getmarkerpos "WP9"};
_unit switchmove "amovpercmstpsnonwnondnon";
/*while {alive _unit} do
{
if (2 < _unit distance getmarkerpos "WP1") then
{
_unit switchmove "amovpercmtacsraswrfldf";
} else {
_unit switchmove "amovpercmstpsraswrfldnon";
};
_unit setDir ([_unit, getmarkerpos "WP1"] call BIS_fnc_dirTo);
sleep 0.5;
};*/
//_unit switchmove "amovpercmtacsraswrfldf";
//_unit switchmove "amovpercmstpsraswrfldnon";
//_dir = [_unit, player] call BIS_fnc_relativeDirTo;