Difference between revisions of "HasSpell"
Jump to navigation
Jump to search
imported>DragoonWraith (not a record variable function) |
imported>Llde (added a bug.) |
||
Line 9: | Line 9: | ||
* Must be called on a reference. | * Must be called on a reference. | ||
* Returns true if the reference has the specified spell. | * Returns true if the reference has the specified spell. | ||
==Bugs== | |||
* Return always 0 on Creatures. | |||
[[Category: Functions]] | [[Category: Functions]] |
Revision as of 16:33, 1 September 2015
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.