Skip to content

Henchman disappears after death or cannot be resurrected

So this script used to work before EE:

if (has_hench ("xyz")){
object oHench = GetObjectByTag ("xyz");
RemoveHenchman (oPC, oHench);
AssignCommand (oHench, ClearAllActions());
eDamage = EffectDamage (5000, DAMAGE_TYPE_PIERCING, DAMAGE_POWER_PLUS_TWENTY);
ApplyEffectToObject (DURATION_TYPE_INSTANT, eDamage, oHench);
}

What happens now is the henchman just disappears from the game without leaving a body.
However, if a delay is placed in the script:

DelayCommand (8.0f, ApplyEffectToObject (DURATION_TYPE_INSTANT, eDamage, oHench));
DelayCommand (8.0f, RemoveHenchman (oPC, oHench));

The body remains, but the henchman cannot be resurrected.

Any ideas on what changed to cause the body to disappear?

On the henchman properties, No Permanent Death is checked, but Plot and Immortal are not. This was the case before the EE version as well. The Leaves Lootable Corpse doesn't seem to have any effect either.
Sign In or Register to comment.