GetIsRaiseable(object)
From NWN Lexicon
Jump to navigationJump to search
Checks if a object is able to be raised.
int GetIsRaiseable(
object oCreature
);
Parameters
- oCreature
- Creature to check
Description
Checks if a creature is able to be raised with EffectResurrection (toggle this state with SetIsDestroyable).
Returns TRUE if they can be raised, FALSE otherwise or in error.
Remarks
This solely gates EffectResurrection effects. A creature doesn't necessarily *have* to be selectable when dead since script commands can do this effect regardless, but for PCs casting spells on the given creature, it'll be easier if they were selectable.
Version
This function was added in 1.89.8193.37 of NWN:EE.
Example
NWScript here
See Also
| functions: |