WoW:API ToggleCharacter: Difference between revisions
Jump to navigation
Jump to search
({{framexmlfunc|FrameXML/CharacterFrame.lua}} __NOTOC__) |
m (→Arguments) |
||
Line 8: | Line 8: | ||
== Parameters == | == Parameters == | ||
=== Arguments === | === Arguments === | ||
:;frameName : String- The frame to toggle on or off | :;frameName : String- The frame to toggle on or off | ||
known frame names are as follows; | |||
PVPFrame, PaperDollFrame, SkillFrame, PetPaperDollFrame | |||
=== Returns === | === Returns === | ||
Line 16: | Line 22: | ||
:;nil | :;nil | ||
=== Example === | |||
/script ToggleCharacter("PVPFrame") | |||
or | |||
/script ToggleCharacter("SkillFrame"); | |||
Revision as of 08:38, 3 September 2007
- 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;
PVPFrame, PaperDollFrame, SkillFrame, PetPaperDollFrame
Returns
- nil
Example
/script ToggleCharacter("PVPFrame")
or
/script ToggleCharacter("SkillFrame");