SetActiveSpell

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search


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).

See Also[edit | edit source]