SetActiveSpell

From the Oblivion ConstructionSet Wiki
Revision as of 08:33, 15 September 2007 by imported>WereWolf
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

SetActiveSpell StandardFireDamageTarget1Novice

Notes

  • 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