Help - Search - Members - Calendar
Full Version: Add spell when item is equipped
The Nexus Forums > Specific Games > Oblivion > Oblivion Modifications > General Mod Talk
shera
How would I make a spell appear in my spell book when I equip a certain item or weapon, like a ring or sword? I would also want the spell to disappear when the item is unequipped. thanks.gif
Vagrant0
QUOTE(shera @ Aug 21 2008, 06:15 AM) *
How would I make a spell appear in my spell book when I equip a certain item or weapon, like a ring or sword? I would also want the spell to disappear when the item is unequipped. thanks.gif


CODE
SCN Sheraaddspellscript0012334q
Begin onequip
player.addspell <spell ID>
end

Begin onunequip
player.removespell <spell ID>
end


Give or take. Script is attached to the item to be worn.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.