GetIsSelectableWhenDead(object)
From NWN Lexicon
Jump to navigationJump to search
Checks if a creature is able to be selected when dead.
int GetIsRaiseable(
object oCreature
);
Parameters
- oCreature
- Creature to check
Description
Checks if a creature is able to be selected when dead (toggle this state with SetIsDestroyable).
Returns TRUE if they can be selected, FALSE otherwise or in error.
Remarks
This allows a PC to cast spells on the given creature when they fall down dead, mainly for the purposes of resurrection since spells otherwise don't affect dead creatures.
Version
This function was added in 1.89.8193.37 of NWN:EE.
Example
NWScript here
See Also
| functions: |