KillAndReplaceDecorative(object)

Kill and leave a purely decorative corpse (no name, not raiseable).

void KillAndReplaceDecorative(
    object oVictim
);

Parameters

oVictim

The object to slaughter.


Description

Kill and leave a purely decorative corpse (no name, not raiseable).

Despite the name, can be used in an OnDeath script; it won't kill the victim twice.



Remarks

Calls SetObjectIsDestroyable with the 2nd and 3rd parameters set to FALSE. So oVictim will leave a corpse that cannot be raised and is not selectable. Then DoActualKilling is called to kill them off.

According to the remarks in SetObjectIsDestroyable, this should not be used on a PC. Bummer!


Requirements

#include "x0_i0_corpses"


Version

???

See Also

functions:  KillAndExplode | KillAndReplaceDecay | KillAndReplaceLootable | KillAndReplaceRaiseable | KillAndReplaceSelectable
categories:  Action on Object Functions


author: Mistress, editor: Kolyana