GetLastSpellCaster
From NWN Lexicon
Contents |
[edit] GetLastSpellCaster()
Determines who last cast a spell.
[edit] Description
This is for use in a OnSpellCastAt script, it gets who cast the spell. The spell could have been cast by a creature, placeable or door. Returns OBJECT_INVALID if the caller is not a creature, placeable or door.
[edit] Remarks
You should not use this function in actual spell scripts. In spell scripts, the object casting the spell will be OBJECT_SELF.
[edit] Version
1.61
[edit] See Also
functions: | |
events: |
author: Jody Fletcher, editor: Lilac Soul