Difference between revisions of "GetSpellType"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>DragoonWraith
(not a record variable function)
imported>DragoonWraith
(adding the Poison type, since Migck was kind enough to research it)
 
Line 12: Line 12:
   3:    Lesser Power
   3:    Lesser Power
   4:    Ability
   4:    Ability
  5:    Poison


==See Also==
== Note ==
*[[SetSpellType]]


[[Category: Functions]]
* The <tt>Poison</tt> type refers to spells set to Poison in the CS, not to poisoned weapons or arrows.
[[Category: Functions (OBSE)]]
 
[[Category: Magic Functions]]
== See Also ==
[[Category: Magic Functions (OBSE)]]
 
[[Category: Magic Functions - Magic Item (OBSE)]]
* [[SetSpellType]]
 
[[Category:Functions]]
[[Category:Functions (OBSE)]]
[[Category:Magic Functions]]
[[Category:Magic Functions (OBSE)]]
[[Category:Magic Functions - Magic Item (OBSE)]]

Latest revision as of 15:13, 26 June 2011

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]