Difference between revisions of "HasSpell"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>DragoonWraith
(MI)
imported>DragoonWraith
(not a record variable function)
Line 12: Line 12:
[[Category: Functions]]
[[Category: Functions]]
[[Category: Functions (OBSE)]]
[[Category: Functions (OBSE)]]
[[Category: Record Variable Functions]]
[[Category: Record Variable Functions (OBSE)]]
[[Category: Actor Value Functions]]
[[Category: Actor Value Functions]]
[[Category: Actor Value Functions (OBSE)]]
[[Category: Actor Value Functions (OBSE)]]

Revision as of 20:54, 21 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.