KillAndReplaceRaiseable
From NWN Lexicon
Contents |
[edit] KillAndReplaceRaiseable(object)
Kill and leave a raiseable and selectable corpse.
void KillAndReplaceRaiseable( object oVictim );
[edit] Parameters
oVictim
The object to slaughter.
[edit] 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.
[edit] 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.
[edit] Requirements
#include " x0_i0_corpses "
[edit] Version
???
[edit] See Also
functions: |
author: Mistress