TriggerRaiseCorpse
From NWN Lexicon
Jump to navigationJump to search
TriggerRaiseCorpse(int)
Raise the nearest corpse from the dead.
Parameters
nVisualEffect
Visual effect used when raising the corpse. (Default: VFX_IMP_RAISE_DEAD)
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.
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.
Requirements
#include " x0_i0_corpses "
Version
???
See Also
functions: | |
constants: | |
events: |
author: Mistress