LordGolias / antistasi

Antistasi improved, a mod for the game Arma 3.
BSD 3-Clause "New" or "Revised" License
30 stars 18 forks source link

Capturing docks: Enemy inside door-less container #159

Open Warhammer47 opened 7 years ago

Warhammer47 commented 7 years ago

Version: develop Mods: ACE Mode: MP

Although most enemies were above the containers, one enemy was inside a container that did not had any doors. Multiple grenades and shots were fired to get him killed through the metal.

20171110195319_1 20171110195521_1

LordGolias commented 7 years ago

This is a difficult one since the spawn is done by UPSMON, and that is the one causing the problem.

This bug is evidence supporting the hypothesis of @StefArma on issue #24.

Solving this would be done by e.g. counting the number of door of the building using

_class = configFile >> "CfgVehicles" >> typeOf _building;
    _num = getNumber (_class >> "numberofdoors");

I am delaying this to 0.3