WoW:API GameTooltip SetFrameStack: Difference between revisions
Jump to navigation
Jump to search
→Notes: Previously stated that usual lua boolean logic was applied to the optional parameter. This may have been true at some point, but is not now. The current test in Blizzard's ChatFrame.lua is "if(msg == tostring(true)) then" which will on
(Initial writeup based on http://forums.worldofwarcraft.com/thread.html?topicId=25578318852&postId=255759571387&sid=1#2) |
(→Notes: Previously stated that usual lua boolean logic was applied to the optional parameter. This may have been true at some point, but is not now. The current test in Blizzard's ChatFrame.lua is "if(msg == tostring(true)) then" which will on) |
||
| Line 17: | Line 17: | ||
== Notes == | == Notes == | ||
The '''/framestack [ | The '''/framestack [showHidden]''' slash command toggles a pre-declared GameTooltip and dispatches this function on it. When followed by 'true', hidden frames will also be shown. No value other than 'true' will cause hidden frames to be shown. | ||
The frame listing on a tooltip after this function is called are arranged by [[UITYPE_FrameStrata|strata]] and [[FrameLevel#Frame_Levels|level]]. Within that list, the frames are colored: | The frame listing on a tooltip after this function is called are arranged by [[UITYPE_FrameStrata|strata]] and [[FrameLevel#Frame_Levels|level]]. Within that list, the frames are colored: | ||