GetSpellType

From the Oblivion ConstructionSet Wiki
Revision as of 15:13, 26 June 2011 by imported>DragoonWraith (adding the Poison type, since Migck was kind enough to research it)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

A command for Oblivion Script Extender

Syntax:

(spellType:short) GetSpellType spell:ref

Returns the spell type.

Spell Type:
 0:    Spell
 1:    Disease
 2:    Power
 3:    Lesser Power
 4:    Ability
 5:    Poison

Note[edit | edit source]

  • The Poison type refers to spells set to Poison in the CS, not to poisoned weapons or arrows.

See Also[edit | edit source]