mirror of
https://github.com/ineedbots/iw4_bot_warfare.git
synced 2025-04-22 13:55:43 +00:00
reduce fov if ads'ing
This commit is contained in:
parent
997967771d
commit
cb625cc045
@ -741,6 +741,9 @@ target()
|
|||||||
vehEnt = level.chopper;
|
vehEnt = level.chopper;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// reduce fov if ads'ing
|
||||||
|
myFov *= 1 - 0.5 * self PlayerADS();
|
||||||
|
|
||||||
if(hasTarget && !isDefined(self.bot.target.entity))
|
if(hasTarget && !isDefined(self.bot.target.entity))
|
||||||
{
|
{
|
||||||
self.bot.target = undefined;
|
self.bot.target = undefined;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user