[FIXED B829] Unit Damaged Event not firing if Unit is Immediately Destroyed

Post bug reports and ask for game support here.

Moderator: MOD_Command

Post Reply
Kitchens Sink
Posts: 402
Joined: Sun May 04, 2014 8:55 pm

[FIXED B829] Unit Damaged Event not firing if Unit is Immediately Destroyed

Post by Kitchens Sink »

I am using v1.11 Build 825. Saved Test game attached. Noticed this issue when improving a larger scenario.

A B-52 and a small patrol boat are getting ready to attack 2 different targets belonging to a Neutral side. I have set up a recurring event to fire a message if a Neutral ship receives damage exceeding 1% Threshold.

The patrol boat starts attacking one of the neutrals with it's Bofors, and the message fires. It sinks the neutral fishing boat after a few rounds. The B-52 attacks the other target with Harpoon and immediately destroys it, no message fired.

It seems that if a unit is immediately destroyed with a large weapon, a Damage Event will not fire. Is this WAD?

Thanks!
Attachments
DamageEventTest.zip
(12.19 KiB) Downloaded 6 times
mikmykWS
Posts: 7185
Joined: Tue Mar 22, 2005 4:34 pm

RE: Unit Damaged Event not firing if Unit is Immediately Destroyed

Post by mikmykWS »

It probably is WAD as the logic probably doesn't know that destroyed = damaged but will add an item to see if the guys can take a look.

Mike
Kitchens Sink
Posts: 402
Joined: Sun May 04, 2014 8:55 pm

RE: Unit Damaged Event not firing if Unit is Immediately Destroyed

Post by Kitchens Sink »

Ok, thanks Mike!

Low priority (at least for me), I have a workaround.
ComDev
Posts: 3116
Joined: Fri May 12, 2006 1:20 pm
Contact:

RE: Unit Damaged Event not firing if Unit is Immediately Destroyed

Post by ComDev »

Thanks! Great savegame so easy to reproduce and fix [8D]

Fixed B829.
Image

Developer "Command: Modern Air/Naval Operations" project!
Post Reply

Return to “Tech Support”