Editor - Army: Is Dead condition doesn't work on SPC heroes

  • Game Version: release version

  • Build Number: release version

  • Platform: Steam

  • Operating System: Windows 11

Issue:

SPC heroes like Arkantos, Reginleif, etc - when they die and are dropped to 1hp so that they can be resurrected. I’m assuming since their HP doesn’t actually go to 0 that the trigger doesn’t consider the unit dead, even though the body needs to be resurrected. AOM:EE still considered these kinds of deaths as fulfilling the Army Is Dead condition, whereas AOM:R does not.

Unit Is Dead or Unit Percent Damaged are NOT replacement conditions for this issue - as these require the source unit to be manually selected. If an SPC hero is spawned via and Army Unit Create trigger those ‘Unit’ conditions do not work because the source unit cannot be selected.

Trigger Event:

Have an SPC hero like Arkantos, Reginleif, etc killed (dropped to 1hp as part of their death animation) and if that unit is an Army, in a trigger the Army: Is Dead condition will not be met.

Repro Steps:

Can be repro-d in editor with any SPC hero as an Army and a trigger with the condition Army: Is Dead.

There’s a workaround for SPC heroes you can do with Protounit: Set Flag.
Set their DieAtZeroHitpoints flag to ON.
They will then count as dead as long as they’re knocked out, and will fulfill the Army is Dead condition. They still revive normally, due to the KnockoutDeath flag.

If you want them to fully die and not be revivable, in the case you may want to respawn them elsewhere with the army, you can also Set Flag KnockoutDeath to OFF.