GetLastGenericSpellCast

From NWN Lexicon



Contents

[edit] GetLastGenericSpellCast()

Retrieves the last spell that was cast by the calling creature.

[edit] Description

Returns a SPELL_* constant for the last spell used which was stored by calling CompareLastSpellCast ().



[edit] Remarks

Uses the local variable name "NW_GENERIC_LAST_SPELL".

Used by BioWare core AI system so it doesn't keep casting the same spell.


[edit] Requirements

#include " x0_inc_generic "

[edit] Version

1.22

[edit] See Also

functions: 

SetLastGenericSpellCast

constants: 

SPELL_* Constants



 author: Tom Cassiotis, editors: John Shuell, Mistress
 

Personal tools
Categories