Wikia

WoWWiki

API SetActionBarToggles

Talk0
102,281pages on
this wiki
Revision as of 18:08, November 2, 2007 by Pcj (Talk | contribs)

(diff) ←Older revision | Latest revision (diff) | Newer revision → (diff)
WoW API < SetActionBarToggles

Set the desired state of the extra action bars.

SetActionBarToggles(bottomLeftState, bottomRightState, sideRightState, sideRight2State)

Parameters Edit

Arguments Edit

(bottomLeftState, bottomRightState, sideRightState, sideRight2State)
bottomLeftState 
Flag - 1 if the left-hand bottom action bar is to be shown, 0 or nil otherwise.
bottomRightState 
Flag - 1 if the right-hand bottom action bar is to be shown, 0 or nil otherwise.
sideRightState 
Flag - 1 if the first (outer) right side action bar is to be shown, 0 or nil otherwise.
sideRight2State 
Flag - 1 if the second (inner) right side action bar is to be shown, 0 or nil otherwise.

Returns Edit

nil


Details Edit

Note that this doesn't actually change the action bar states directly, it simply registers the desired states for the next time the game is loaded. The states during play are in the variables SHOW_MULTI_ACTIONBAR_1, SHOW_MULTI_ACTIONBAR_2, SHOW_MULTI_ACTIONBAR_3, SHOW_MULTI_ACTIONBAR_4, and reflected by calling MultiActionBar_Update().

Around Wikia's network

Random Wiki