KillAndReplaceDecay

From NWN Lexicon
Jump to navigationJump to search

KillAndReplaceDecay(object)

Kill and leave a decorative corpse that will decay after a short while.

Parameters

oVictim

The object to slaughter.


Description

Kill and leave a decorative corpse that will decay after a short while.

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



Remarks

This function starts out by calling DestroyObject with a 2.2 second delay. All gone!


Requirements

#include " x0_i0_corpses "


Version

???

See Also

functions: 

KillAndReplaceSelectable



author: Mistress