From f342a64ca2299067a9a7b2dd4f4a6232c31f021c Mon Sep 17 00:00:00 2001 From: ineed bots Date: Thu, 30 Nov 2023 03:23:16 -0600 Subject: [PATCH] nothin used this --- maps/bots/_bot_utility.gsc | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/maps/bots/_bot_utility.gsc b/maps/bots/_bot_utility.gsc index 73d9eb2..365faf8 100644 --- a/maps/bots/_bot_utility.gsc +++ b/maps/bots/_bot_utility.gsc @@ -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 */