WoW:API GetBonusBarOffset: Difference between revisions
Jump to navigation
Jump to search
GetBonusBarOffset - Documentation by Flickering
mNo edit summary |
No edit summary |
||
Line 15: | Line 15: | ||
__NOTOC__ | __NOTOC__ | ||
{{Template:WoW API}} | {{Template:WoW API}} | ||
Revision as of 16:41, 30 December 2005
Determine which page of bonus actions to show.
offset = GetBonusBarOffset()
Parameters
Arguments
- ()
Returns
- offset
- offset
- Numeric - 0 if the player has no current bonus actions, otherwise the bonus action page to show, starting at 1 (This is for warriors, rogues, druids, etc, who have multiple action bars for their different forms/stances). The first slot of the current action bar is (1 + (NUM_ACTIONBAR_PAGES + offset - 1) * NUM_ACTIONBAR_BUTTONS).