HasSpell

Revision as of 16:33, 1 September 2015 by imported>Llde (added a bug.)

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.


Bugs

  • Return always 0 on Creatures.