mirror of
https://github.com/ineedbots/iw3_bot_warfare.git
synced 2025-04-22 02:15:42 +00:00
script_goal
This commit is contained in:
parent
4d2d28d7b1
commit
c4afc7f806
@ -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");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user