mirror of
https://github.com/ineedbots/iw4_bot_warfare.git
synced 2025-04-22 05:55:42 +00:00
a
This commit is contained in:
parent
40629600f7
commit
ae968e34df
@ -1726,6 +1726,7 @@ aim()
|
|||||||
aimspeed = 1;
|
aimspeed = 1;
|
||||||
|
|
||||||
usingRemote = self IsUsingRemote();
|
usingRemote = self IsUsingRemote();
|
||||||
|
curweap = self getCurrentWeapon();
|
||||||
|
|
||||||
if (isDefined(self.bot.jav_loc) && !usingRemote)
|
if (isDefined(self.bot.jav_loc) && !usingRemote)
|
||||||
{
|
{
|
||||||
@ -1733,7 +1734,9 @@ aim()
|
|||||||
|
|
||||||
self thread bot_lookat(lookPos, aimspeed);
|
self thread bot_lookat(lookPos, aimspeed);
|
||||||
self thread pressAds();
|
self thread pressAds();
|
||||||
self botFire();
|
|
||||||
|
if (curweap == "javelin_mp")
|
||||||
|
self botFire();
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -1751,7 +1754,6 @@ aim()
|
|||||||
isplay = self.bot.target.isplay;
|
isplay = self.bot.target.isplay;
|
||||||
offset = self.bot.target.offset;
|
offset = self.bot.target.offset;
|
||||||
dist = self.bot.target.dist;
|
dist = self.bot.target.dist;
|
||||||
curweap = self getCurrentWeapon();
|
|
||||||
eyePos = self getEye();
|
eyePos = self getEye();
|
||||||
angles = self GetPlayerAngles();
|
angles = self GetPlayerAngles();
|
||||||
rand = self.bot.target.rand;
|
rand = self.bot.target.rand;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user