Djinni Wiki
Advertisement

function GetLastSpellCaster ()

This is for use in a "Spell Cast" 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.
  • Return type: object
  • Include file: nwscriptdefn
Advertisement