KillAndReplaceSelectable
From NWN Lexicon
Contents |
[edit] KillAndReplaceSelectable(object)
Kill and leave a selectable corpse.
void KillAndReplaceSelectable( object oVictim );
[edit] Parameters
oVictim
The object to slaughter.
[edit] Description
Kill and leave a selectable corpse.
Despite the name, can be used in an OnDeath script; it won't kill the victim twice.
[edit] 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.
[edit] Requirements
#include " x0_i0_corpses "
[edit] Version
???
[edit] See Also
functions: |
author: Mistress