TriggerRaiseCorpse

From NWN Lexicon


Contents

[edit] TriggerRaiseCorpse(int)

Raise the nearest corpse from the dead.

void TriggerRaiseCorpse(
    int nVisualEffect = VFX_IMP_RAISE_DEAD
);

[edit] Parameters

nVisualEffect

Visual effect used when raising the corpse. (Default: VFX_IMP_RAISE_DEAD)


[edit] Description

Raise the nearest corpse from the dead.

This should be called by the trigger object! It ASSUMES that GetEnteringObject will work for OBJECT_SELF here.



[edit] Remarks

This function does nothing if the entering object is not a PC based on the results of a call to RaiseCorpse is then called to do the actual grunt work of raising the selected dead body using nVisualEffect to mask the swap.

After a 5 second delay. OBJECT_SELF is destroyed. This destruction makes the trigger one time use instead of repeatable use.


[edit] Requirements

#include " x0_i0_corpses "


[edit] Version

???

[edit] See Also

functions: 

RaiseCorpse

constants: 

VFX_IMP_*

events: 

OnEnter Event



author: Mistress

Personal tools
Categories