CBATeam / CBA_A3

Community Base Addons for Arma 3
https://github.com/CBATeam/CBA_A3/wiki
GNU General Public License v2.0
367 stars 149 forks source link

"CBA_fnc_taskDefend" does not ignore locked statics. #1013

Closed Neciota closed 6 years ago

Neciota commented 6 years ago

Arma 3 Version: 1.84 (stable) CBA Version: 3.9.0 (stable)

Mods:

- CBA_A3
- ACE3
- CUP Weapons/Vehicles/Units
- ACRE2

Description: AI groups given the taskDefend function will mount statics that are fully locked (not just locked for players).

Steps to reproduce:

Where did the issue occur?

commy2 commented 6 years ago

What happens when an AI tries to man a locked static weapon?

Neciota commented 6 years ago

It kills my platoon with the ZU-23 it mounted.

dedmen commented 6 years ago

"CBA_fnc_taskDefend" does not ignore locked statics.

Is that a typo? You mean it "does ignore locked statics" right?

Drofseh commented 6 years ago

Doesn't seem like a type to me. Statics are not ignored when locked, the AI get into them.

dedmen commented 6 years ago

Ahh. I read it as "does ignore locked-statics" which they don't. As they enter it. But it's meant as "does ignore (locked) statics" Dedmen being dumb again