mirror of
https://github.com/ineedbots/iw4_bot_warfare.git
synced 2025-06-27 14:41:49 +00:00
reduce fov if ads'ing
This commit is contained in:
@ -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;
|
||||||
|
Reference in New Issue
Block a user