Wikia

WoWWiki

Changes: API ToggleCharacter

Edit

Back to page

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;
   
PVPFrame, PaperDollFrame, SkillFrame, PetPaperDollFrame
+
PaperDollFrame, PetPaperDollFrame, SkillFrame, ReputationFrame, TokenFrame
   
 
=== Returns ===
 
=== Returns ===

Latest revision as of 19:02, November 10, 2009


WoW API < ToggleCharacter
Icon-information-22x22 This function is implemented by FrameXML in FrameXML/CharacterFrame.lua.


ToggleCharacter(frameName);

Toggles the character pane to the specified frame.


Parameters Edit

Arguments Edit

frameName 
String- The frame to toggle on or off

known frame names are as follows;

PaperDollFrame, PetPaperDollFrame, SkillFrame, ReputationFrame, TokenFrame

Returns Edit

nil

Example Edit

/script ToggleCharacter("PVPFrame")

or

/script ToggleCharacter("SkillFrame");

Around Wikia's network

Random Wiki