Difference between revisions of "GetActiveSpell"
Jump to navigation
Jump to search
imported>DragoonWraith (creating) |
imported>DragoonWraith (See Also) |
||
Line 17: | Line 17: | ||
*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. | *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. | *Racial powers can also be removed this way. | ||
==See Also== | |||
*[[SetActiveSpell]] | |||
[[Category: OBSE Functions]] | [[Category: OBSE Functions]] |
Revision as of 10:24, 2 August 2006
A command for Oblivion Script Extender
Syntax:
GetActiveSpell
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.