Difference between revisions of "GetActiveSpell"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>DragoonWraith
(creating)
 
imported>Qazaaq
m
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
A command for [[:Category:Oblivion Script Extender|Oblivion Script Extender]]
{{Deprecated Functions|OBSE}}
This function has been renamed [[GetPlayerSpell]] in [[:Category:Oblivion Script Extender|OBSE]] v0005.


'''Syntax:'''
[[Category:Deprecated Functions]]
GetActiveSpell
[[Category:Deprecated Functions (OBSE)]]
 
Returns the player's active spell.
 
==Example==
 
ref spell
set spell to GetActiveSpell
player.Cast spell
 
==Notes==
 
*Removing the active Spell should be done with caution.  OBSE's developers have not found the player's spell list yet, so after you remove the active spell, GetActiveSpell will return 0 until the user selects a new spell. In the future it will always return the spell that will be cast, once we find that information.
*Racial powers can also be removed this way.
 
[[Category: OBSE Functions]]

Latest revision as of 08:41, 25 August 2008


This function has been renamed GetPlayerSpell in OBSE v0005.