KillAndExplode
From NWN Lexicon
Jump to navigationJump to searchKillAndExplode(object, int)
Kill and leave an exploding corpse.
Parameters
oVictim
The object to slaughter.
nSpell
The SPELL_* to cast. (Default: SPELL_FIREBALL)
Description
Kill and leave an exploding corpse.
Despite the name, can be used in an OnDeath script; it won't kill the victim twice.
Any spell can be used.
Remarks
This function starts off with a call to ExplodeObject is called and it is all over for oVictim as they explode gloriously thanks to the work of nSpell.
Requirements
#include " x0_i0_corpses "
Version
???
See Also
functions: | |
constants: |
author: Mistress