mirror of
https://github.com/ineedbots/iw3_bot_warfare.git
synced 2025-04-22 02:15:42 +00:00
strafe fix?
This commit is contained in:
parent
b78dd656a2
commit
63f99ac24a
@ -1134,9 +1134,8 @@ walk()
|
||||
*/
|
||||
strafe(target)
|
||||
{
|
||||
self endon("new_enemy");
|
||||
self endon("flash_rumble_loop");
|
||||
self endon("kill_goal");
|
||||
self thread killWalkOnEvents();
|
||||
|
||||
angles = VectorToAngles(vectorNormalize(target.origin - self.origin));
|
||||
anglesLeft = (0, angles[1]+90, 0);
|
||||
@ -1155,6 +1154,7 @@ strafe(target)
|
||||
|
||||
self botMoveTo(strafe);
|
||||
wait 2;
|
||||
self notify("kill_goal");
|
||||
}
|
||||
|
||||
/*
|
||||
|
Loading…
x
Reference in New Issue
Block a user