script_goal

This commit is contained in:
Your Name 2020-08-27 10:15:19 -06:00
parent 4d2d28d7b1
commit c4afc7f806

View File

@ -1149,7 +1149,9 @@ watchOnGoal(goal, dis)
while(DistanceSquared(self.origin, goal) > dis) while(DistanceSquared(self.origin, goal) > dis)
wait 0.05; wait 0.05;
if (isDefined(self.bot.script_goal) && self.bot.script_goal == goal)
self notify("script_goal");
self notify("goal"); self notify("goal");
} }