KillAndReplaceSelectable
From NWN Lexicon
Jump to navigationJump to search
KillAndReplaceSelectable(object)
Kill and leave a selectable corpse.
void KillAndReplaceSelectable(
object oVictim
);
Parameters
oVictim
The object to slaughter.
Description
Kill and leave a 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, FALSE, TRUE. This sets up oVictim to have a corpse that is selectable.
Then DoActualKilling is called to kill 'em off.
Requirements
#include " x0_i0_corpses "
Version
???
See Also
| functions: |
author: Mistress