Wikia

WoWWiki

API ChangeActionBarPage

Talk3
98,463pages on
this wiki
Revision as of 06:33, February 17, 2008 by Baytoon (Talk | contribs)

(diff) ←Older revision | Latest revision (diff) | Newer revision → (diff)

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

ChangeActionBarPage(actionBarPage)

Parameters

Arguments

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

Returns

nil

Example

function ActionBar_FirstPage()
   ChangeActionBarPage(1);
end

Or for a macro:

/script ChangeActionBarPage(2);

Details

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

Advertisement | Your ad here

Photos

Add a Photo
61,980photos on this wiki
See all photos >

Recent Wiki Activity

See more >

Around Wikia's network

Random Wiki