mirror of
https://github.com/ineedbots/iw3_bot_warfare.git
synced 2025-04-22 02:15:42 +00:00
fixes
This commit is contained in:
parent
2a47d1bbe7
commit
c0504e9af8
@ -1786,6 +1786,10 @@ bot_use_equipment_think()
|
|||||||
if (self inLastStand())
|
if (self inLastStand())
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
|
curWeap = self GetCurrentWeapon();
|
||||||
|
if (curWeap == "none" || !isWeaponDroppable(curWeap))
|
||||||
|
curWeap = self.lastDroppableWeapon;
|
||||||
|
|
||||||
loc = undefined;
|
loc = undefined;
|
||||||
|
|
||||||
if (!self nearAnyOfWaypoints(128, level.waypointsClay))
|
if (!self nearAnyOfWaypoints(128, level.waypointsClay))
|
||||||
@ -1845,6 +1849,7 @@ bot_use_equipment_think()
|
|||||||
self notify("stop_firing_weapon");
|
self notify("stop_firing_weapon");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
self thread changeToWeapon(curWeap);
|
||||||
self ClearScriptAimPos();
|
self ClearScriptAimPos();
|
||||||
self BotStopMoving(false);
|
self BotStopMoving(false);
|
||||||
}
|
}
|
||||||
@ -2201,7 +2206,7 @@ bot_killstreak_think()
|
|||||||
continue;
|
continue;
|
||||||
|
|
||||||
curWeap = self GetCurrentWeapon();
|
curWeap = self GetCurrentWeapon();
|
||||||
if (curWeap == "none")
|
if (curWeap == "none" || !isWeaponDroppable(curWeap))
|
||||||
curWeap = self.lastDroppableWeapon;
|
curWeap = self.lastDroppableWeapon;
|
||||||
|
|
||||||
targetPos = undefined;
|
targetPos = undefined;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user