SetActiveSpell
Jump to navigation
Jump to search
This script function is documented but either not implemented or else superceded by another function. Please do not use this function in your mod; alternatives are offered in the article.
Deprecated Function
This script function is documented but either not implemented or else superceded by another function. Please do not use this function in your mod; alternatives are offered in the article.
A command for Oblivion Script Extender
This function is deprecated in favor of Oblivion's SelectPlayerSpell
Note that this command duplicates a function from vanilla Oblivion: SelectPlayerSpell
Syntax:
SetActiveSpell [spell ID]
Sets the player's current spell to the specified spell.
Example[edit | edit source]
SetActiveSpell StandardFireDamageTarget1Novice
Notes[edit | edit source]
- If you set the active spell to a spell unknown to the player, the player will be granted access to the spell until another active spell is set (by the user or by script).