nothin used this

This commit is contained in:
ineed bots 2023-11-30 03:23:16 -06:00
parent 977dc41f18
commit f342a64ca2

View File

@ -496,19 +496,6 @@ ClearScriptGoal()
self SetScriptGoal( undefined, 0 );
}
/*
Returns whether the bot is at it's goal
*/
AtScriptGoal()
{
if ( !isDefined( self.bot.script_goal ) )
{
return false;
}
return distanceSquared( self.origin, self.bot.script_goal ) <= ( self.bot.script_goal_dist * self.bot.script_goal_dist );
}
/*
Returns whether the bot has a priority objective
*/