mirror of
https://github.com/ineedbots/iw4_bot_warfare.git
synced 2025-04-22 05:55:42 +00:00
reduce fov if ads'ing
This commit is contained in:
parent
997967771d
commit
cb625cc045
@ -740,6 +740,9 @@ target()
|
|||||||
if ( isDefined(level.chopper) && isDefined(level.chopper.gunner) && level.chopper.gunner == self )
|
if ( isDefined(level.chopper) && isDefined(level.chopper.gunner) && level.chopper.gunner == self )
|
||||||
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))
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user