Thread Tools Display Modes
12-06-10, 03:37 PM   #1
Rilgamon
Premium Member
 
Rilgamon's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Sep 2009
Posts: 822
ldb and ToggleSpellBook

Just a quick question for which I think I know the answer

Code:
function() ToggleSpellBook(BOOKTYPE_SPELL) end
I tried to use this in an ldb-onclick. Seems this causes a taint.
Am I right that its not (easily) possible to open the spellbook through
ldb without causing taint ?
__________________
The cataclysm broke the world ... and the pandas could not fix it!
  Reply With Quote
12-06-10, 03:55 PM   #2
Haleth
This Space For Rent
 
Haleth's Avatar
Featured
Join Date: Sep 2008
Posts: 1,173
That's correct, spell book is sensitive to taint.
  Reply With Quote
12-06-10, 04:10 PM   #3
Rilgamon
Premium Member
 
Rilgamon's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Sep 2009
Posts: 822
Thanks for the info So I'll just have to create a "secure" display
Guess that renders my idea of a single hideable, moveable information-center
useless
__________________
The cataclysm broke the world ... and the pandas could not fix it!
  Reply With Quote
12-06-10, 06:55 PM   #4
suicidalkatt
A Rage Talon Dragon Guard
 
suicidalkatt's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2008
Posts: 331
I went around the taint by rebinding the left mouse click OnEnter to the keybind for toggling the spellbook, then set it back OnLeave.

Only issue is that the user can't click on the button and be using a click keybind.
  Reply With Quote

WoWInterface » Developer Discussions » Lua/XML Help » ldb and ToggleSpellBook


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off