Difference between revisions of "HasSpell"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
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....)
 
imported>DragoonWraith
(MI)
Line 18: Line 18:
[[Category: Magic Functions]]
[[Category: Magic Functions]]
[[Category: Magic Functions (OBSE)]]
[[Category: Magic Functions (OBSE)]]
[[Category: Magic Functions - Magic Item (OBSE)]]

Revision as of 20:17, 1 March 2008

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.