WoW:API ToggleSpellBook: Difference between revisions

m
Move page script moved page API ToggleSpellBook to WoW:API ToggleSpellBook without leaving a redirect
m (Move page script moved page API ToggleSpellBook to WoW:API ToggleSpellBook without leaving a redirect)
 
(One intermediate revision by one other user not shown)
Line 27: Line 27:


: Shows the Spellbook. Equivalent to pressing 'P'. Note that if you do not have any pet spells, passing in "pet" will do nothing.
: Shows the Spellbook. Equivalent to pressing 'P'. Note that if you do not have any pet spells, passing in "pet" will do nothing.
: If you want to open the spellbook using Lua, don't use this, use <code>ToggleFrame(SpellBookFrame)</code> instead.
: If you want to open the spellbook using Lua, don't use this, use <code>ToggleFrame(SpellBookFrame)</code> instead.
:  However both <code>ToggleFrame(SpellBookFrame) and ToggleSpellBook("spell") </code>will not execute successfully while in combat using Lua due to AddOn Taint unless the Spell Book was previously opened during the same game session.
Anonymous user