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, EffectResurrection, followed by EffectHeal with oVictim's max hit points.


Requirements

#include "x0_i0_corpses"


Version

???

See Also

functions:  Raise
constants:  VFX_BEAM_* | VFX_COM_* | VFX_DUR_* | VFX_EYES_* | VFX_FNF_* | VFX_IMP_*
categories:  Action on Object Functions


author: Mistress