Difference between revisions of "GetPlayerSpell"
Jump to navigation
Jump to search
imported>WereWolf |
imported>DragoonWraith (MI) |
||
Line 19: | Line 19: | ||
==See Also== | ==See Also== | ||
*[[SelectPlayerSpell]] | *[[SelectPlayerSpell]] | ||
[[Category: Functions]] | [[Category: Functions]] | ||
Line 28: | Line 24: | ||
[[Category: Magic Functions]] | [[Category: Magic Functions]] | ||
[[Category: Magic Functions (OBSE)]] | [[Category: Magic Functions (OBSE)]] | ||
[[Category: Magic Functions - Magic Item (OBSE)]] | |||
[[Category: Player Functions]] | [[Category: Player Functions]] | ||
[[Category: Player Functions (OBSE)]] | [[Category: Player Functions (OBSE)]] |
Latest revision as of 20:18, 1 March 2008
A command for Oblivion Script Extender
Syntax:
(spell:ref) GetPlayerSpell
Returns the player's active spell.
Example[edit | edit source]
ref spell set spell to GetPlayerSpell player.Cast spell
Notes[edit | edit source]
- 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.
- This function was called GetActiveSpell in v0004. It was renamed to match Oblivion's SelectPlayerSpell.