GetDefensiveCastingMode
From NWN Lexicon
Contents |
[edit] GetDefensiveCastingMode(object)
Retrieves the defensive casting mode status of a creature.
int GetDefensiveCastingMode( object oCreature );
[edit] Parameters
oCreature
Create to determine the DEFENSIVE_CASTING_MODE_* status of.
[edit] Description
Returns DEFENSIVE_CASTING_MODE_* value to reflect how the creature is currently casting spells. When DEFENSIVE_CASTING_MODE_DISABLED, the creature will suffer attacks of opportunity when casting a spell in another creature's threat range.
[edit] Remarks
Only two values exist:
DEFENSIVE_CASTING_MODE_ACTIVATED
and
DEFENSIVE_CASTING_MODE_DISABLED
[edit] Version
1.30
[edit] See Also
constants: |
author: Charles Feduke, editor: Lilac Soul