mirror of
https://github.com/ineedbots/iw4_bot_warfare.git
synced 2025-06-28 07:01:49 +00:00
follow
This commit is contained in:
@ -113,7 +113,7 @@ SetAttacker(att)
|
||||
*/
|
||||
HasScriptGoal()
|
||||
{
|
||||
return (isDefined(self.bot.script_goal));
|
||||
return (isDefined(self GetScriptGoal()));
|
||||
}
|
||||
|
||||
/*
|
||||
@ -128,6 +128,11 @@ SetScriptGoal(goal, dist)
|
||||
self notify("new_goal");
|
||||
}
|
||||
|
||||
GetScriptGoal()
|
||||
{
|
||||
return self.bot.script_goal;
|
||||
}
|
||||
|
||||
/*
|
||||
Clears the bot's goal.
|
||||
*/
|
||||
|
Reference in New Issue
Block a user