WoW:API GameTooltip SetAction: Difference between revisions

no edit summary
No edit summary
 
No edit summary
Line 32: Line 32:


: Beware of using, for example, ActionButton1:GetID(); This would return 1, no matter what page your action bar is on. The WoW function CURRENT_ACTIONBAR_PAGE may be of use to you if you want to do something like this, or if you have the button object already, ActionButton_GetPagedID(button).
: Beware of using, for example, ActionButton1:GetID(); This would return 1, no matter what page your action bar is on. The WoW function CURRENT_ACTIONBAR_PAGE may be of use to you if you want to do something like this, or if you have the button object already, ActionButton_GetPagedID(button).


----
----
{{Template:WoW API}}
{{WoW API}}
<!-- Update the category to the appropriate subsection, and be sure to put the function name as the label for the category link. Multiple subcategories are okay if appropriate, please dont link functions to the API Functions category directly. -->
[[Category:API Frame Functions|SetAction]]
Anonymous user