WoW:API ToggleCharacter: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
m (catfix, Replaced: {{framexml → <br>{{framexml)
Line 1: Line 1:
{{framexmlfunc|FrameXML/CharacterFrame.lua}} __NOTOC__
<br>{{framexmlfunc|FrameXML/CharacterFrame.lua}} __NOTOC__





Revision as of 00:41, 15 July 2008


WoW API < ToggleCharacter

"I" iconThis 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;

PVPFrame, PaperDollFrame, SkillFrame, PetPaperDollFrame

Returns

nil

Example

/script ToggleCharacter("PVPFrame")

or

/script ToggleCharacter("SkillFrame");