Fandom

WoWWiki

API ChangeActionBarPage

104,635pages on
this wiki
Add New Page
Talk3 Share

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.

WoW API < ChangeActionBarPage

Changes the current action button to the one specified in the arguments.

ChangeActionBarPage(actionBarPage)

Parameters Edit

Arguments Edit

(actionBarPage)
actionBarPage 
Numeric - Which page of your action bar to switch to. Expects an integer 1-6.

Returns Edit

nil

Example Edit

function ActionBar_FirstPage()
   ChangeActionBarPage(1);
end

Or for a macro:

/script ChangeActionBarPage(2);

Details Edit

Notifies the UI that the current action button set has been updated to the current value of the CURRENT_ACTIONBAR_PAGE global variable.
Will cause an ACTIONBAR_PAGE_CHANGED event to fire only if there was actually a change (tested in 2.3.0).
Do nothing in combat mode

Also on Fandom

Random Wiki