WoW:API ToggleCharacter: Difference between revisions
Jump to navigation
Jump to search
m (catfix, Replaced: {{framexml → <br>{{framexml) |
m (update known frames) |
||
Line 16: | Line 16: | ||
known frame names are as follows; | known frame names are as follows; | ||
PaperDollFrame, PetPaperDollFrame, SkillFrame, ReputationFrame, TokenFrame | |||
=== Returns === | === Returns === |
Revision as of 19:02, 10 November 2009
- This function is implemented in Lua here FrameXML/CharacterFrame.lua.
ToggleCharacter(frameName);
Toggles the character pane to the specified frame.
Parameters
Arguments
- frameName
- String- The frame to toggle on or off
known frame names are as follows;
PaperDollFrame, PetPaperDollFrame, SkillFrame, ReputationFrame, TokenFrame
Returns
- nil
Example
/script ToggleCharacter("PVPFrame")
or
/script ToggleCharacter("SkillFrame");