HasSpell

From the Oblivion ConstructionSet Wiki
Revision as of 21:17, 1 March 2008 by imported>DragoonWraith (MI)
Jump to navigation Jump to search

A command for Oblivion Script Extender

Syntax:

(hasSpell:bool) reference.HasSpell spell:ref

Returns whether the NPC has the specified spell.

Notes

  • Must be called on a reference.
  • Returns true if the reference has the specified spell.