mirror of
https://github.com/JezuzLizard/t4sp_bot_warfare.git
synced 2025-04-20 13:35:43 +00:00
nothin used this
This commit is contained in:
parent
977dc41f18
commit
f342a64ca2
@ -496,19 +496,6 @@ ClearScriptGoal()
|
|||||||
self SetScriptGoal( undefined, 0 );
|
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
|
Returns whether the bot has a priority objective
|
||||||
*/
|
*/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user