HasSpell

From the Oblivion ConstructionSet Wiki
Revision as of 06:43, 15 September 2007 by imported>WereWolf (New page: A command for Oblivion Script Extender '''Syntax:''' (hasSpell:bool) reference.HasSpell spell:ref Returns whether the NPC has the specified spell....)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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.