RaiseCorpse

From NWN Lexicon
Jump to navigationJump to search


RaiseCorpse(object, int, int)

Raise a given corpse from the dead with the given visual effect.

void RaiseCorpse(
    object oVictim,
    int nVisualEffect = VFX_IMP_RAISE_DEAD,
    int bDestroyable = TRUE
);

Parameters

oVictim

The object to raise from the dead.

nVisualEffect

The visual effect to apply to oVictim. (Default: VFX_IMP_RAISE_DEAD)

bDestroyable

Destroy the corpse object or not. (Default: TRUE)


Description

Raise a given corpse from the dead with the given visual effect.

Unless bDestroyable is set to FALSE, the newly-raised corpse will be changed so it will be destroyed on its next death.



Remarks

Applies nVisualEffect to oVictim then, EffectHeal with oVictim's max hit points.


Requirements

#include " x0_i0_corpses "


Version

???

See Also

functions: 

Raise

constants: 

VFX_IMP_*



author: Mistress