WoW:API GetBonusBarOffset: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
mNo edit summary
 
No edit summary
Line 15: Line 15:
__NOTOC__
__NOTOC__
{{Template:WoW API}}
{{Template:WoW API}}
[[Category:API Functions|GetBonusBarOffset]]
[[Category:API Action Functions|GetBonusBarOffset]]

Revision as of 16:41, 30 December 2005

GetBonusBarOffset - Documentation by Flickering

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).

Template:WoW API