H-60 icon indicating copy to clipboard operation
H-60 copied to clipboard

Bug: AI does not attack player with AA-Guns

Open Holgerhollebolle opened this issue 2 years ago • 2 comments

Bug Report

Description:

When you fly in a Helicopter only with Players most AA-Weapons dont attack. Only Rockets will get fired but AA Guns like ZU or tigris guns wont shoot at you. When an AI unit flys with you the other side will shoot at you.

Expected Behavior

AA Guns should allways attack you when you are discovered.

Steps to Reproduce the Issue

  1. Place a MH-60M (without AI crew)
  2. Place an Opfor Vehicle with a Gun like the Otokar (or Any vehicle/Turrent that normally attacks you that does not use rockets)
  3. Fly to the Enemy
  4. You will not get attacked.

Holgerhollebolle avatar Oct 13 '23 12:10 Holgerhollebolle

I noticed looking in the Log that this error happens when you place a heli in the editor:

15:41:25 Error in expression <0.5 * (HitEngine1 + HitEngine2)>
15:41:25   Error position: <HitEngine1 + HitEngine2)>
15:41:25   Error Undefined variable in expression: hitengine1
15:41:25 Error compiling '0.5 * (HitEngine1 + HitEngine2)' in 'hitengine'
15:41:25 Error in expression <(hitRWRFront + hitRWRRear)>
15:41:25   Error position: <hitRWRFront + hitRWRRear)>
15:41:25   Error Undefined variable in expression: hitrwrfront
15:41:25 Error compiling '(hitRWRFront + hitRWRRear)' in 'hitrwr'


Holgerhollebolle avatar Oct 13 '23 13:10 Holgerhollebolle