HasSpell

From The Elder Scrolls Construction Set Wiki

A command for Oblivion Script Extender

Syntax:

(hasSpell:bool) reference.HasSpell spell:ref

Returns whether the NPC has the specified spell.

[edit] Notes

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