
	_wp = _this select 0
	_unit = _this select 1
	
	_x = getpos _wp select 0
	_y = getpos _wp select 1
	
	#loop
	~0.05
	? !alive _unit : exit
	
	? (getpos _wp select 0) != _x : exit
	? (getpos _wp select 1) != _y : exit
	
	? _unit distance _wp < 1  &&  speed _unit == 0 : _id=_unit call findID; COMMANDS set [_id, 0]; exit
	
	goto "loop"