RaiseCorpse

From NWN Lexicon


Contents

[edit] 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
);

[edit] 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)


[edit] 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.



[edit] Remarks

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


[edit] Requirements

#include " x0_i0_corpses "


[edit] Version

???

[edit] See Also

functions: 

Raise

constants: 

VFX_IMP_*



author: Mistress

Personal tools
Categories