//=============================================================================
// This node removes all other nodes around it, HARDCODED!
//
// For testing purposes, do not modify or redistribute
// Have suggestions? Contact me.
// caco_fff@hotmail.com - Higor at UT99.org
//=============================================================================
class Botz_NavigRemover expands Botz_NavigBase;

function RemovePaths()
{
	local NavigationPoint N;

	ForEach RadiusActors( class'NavigationPoint', N, MaxDistance)
	{
		if ( Botz_NavigBase(N) != none || VSize(N.Location - Location) > MaxDistance ) //Precise check
			continue;
		if ( PathNode(N) == none && BlockedPath(N) == none )
			continue;
		LockActor(false,N);
		ClearAllPaths( N);
		N.Destroy();
	}
}

event EPathMode IsCandidateTo( Botz_NavigBase Other)
{
	return PM_None;
}

event EPathMode OtherIsCandidate( NavigationPoint Nav)
{
	return PM_None;
}


defaultproperties
{
	MaxDistance=200
	Texture=Texture'Engine.S_Corpse'
	DrawScale=1
}