HasSpell

Revision as of 17:17, 25 February 2024 by Llde (talk | contribs) (HasSpell bug on creatures is fixed on the first version on xOBSE. Report)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

A command for Oblivion Script Extender

Syntax:

(hasSpell:bool) reference.HasSpell spell:ref

Returns whether the NPC has the specified spell.

NotesEdit

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


BugsEdit

  • Return always 0 on Creatures. (Fixed on xOBSE 21.5)