KillAndReplaceRaiseable

From NWN Lexicon
Jump to navigationJump to search


KillAndReplaceRaiseable(object)

Kill and leave a raiseable and selectable corpse.

void KillAndReplaceRaiseable(
    object oVictim
);

Parameters

oVictim

The object to slaughter.


Description

Kill and leave a raiseable and selectable corpse.

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



Remarks

Calls SetObjectIsDestroyable with the parameters: oVictim, FALSE, TRUE, TRUE. This sets up oVictim to have a corpse that is raisable and selectable.

Then DoActualKilling is called to kill 'em off.


Requirements

#include " x0_i0_corpses "


Version

???

See Also

functions: 

KillAndReplaceSelectable



author: Mistress