antistasi-1.x icon indicating copy to clipboard operation
antistasi-1.x copied to clipboard

AI AA-rifleman surrender bug

Open michals5 opened this issue 7 years ago • 2 comments

When enemy AI carying AA launcher (Igla in RHS) surrenders, his launcher is present in white box without a rocket. Rocket is not present in the box on its own either.

Btw is there a reason why he does not carry morre then one rocket? In vannila, AA rifleman always wears a backpack with aditional rockets so can fire more than one shot.

michals5 avatar Feb 02 '18 11:02 michals5

Good observation! I'll dig it about the amount of rockets.. probably previous coded adapted the inventory in the init for some reason.

StefArma avatar Feb 02 '18 11:02 StefArma

Refer to pull request for technicalities. Due to the way "magazines" are counted in ArmA, the loaded missile is not dropped by the script. The same applies to all other weapons, i.e. loaded mag in rifle/pistol, grenade in grenade launcher, etc.

Also, all RHS AA classes do not carry extra ammo or backpack. This is consistent for USAF/AFRF/GREF. Maybe a script can be used to issue backpack with extra ammo to AA classes.

AGM-114K avatar May 09 '18 20:05 AGM-114K