Lore archive · Warcraft Wiki, 2023 dump
API SetActionBarToggles
Last wiki revision 2022-07-21
Sets the visible state for each action bar. SetActionBarToggles(bottomLeftState, bottomRightState, sideRightState, sideRight2State, alwaysShow)
- 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.
- alwaysShow:Flag - 1 if the bars are always shown, 0 or nil otherwise.
- 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.
Source
https://warcraft.wiki.gg/wiki/API_SetActionBarToggles · retrieved 2023-11-13 · CC BY-SA 4.0
Converted from wikitext with templates, tables and images removed, so some sentences may be missing values.
This archive predates WoW: Forever. For collected gameplay facts see the Forever database. Search the archive.