WoW:API BonusActionButtonDown: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
No edit summary
m (Move page script moved page API BonusActionButtonDown to API BonusActionButtonDown without leaving a redirect)
 
(3 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<center>'''BonusActionButtonDown''' ''-Documentation by AlexanderYoshi-''</center>
{{framexmlfunc|FrameXML/BonusActionBarFrame.lua|removed=5.0.4}}


Press the specified bonus(pet or minion) action button.
Presses the specified "bonus" (pet or minion) action button.


  BonusActionButtonDown(buttonID);
  BonusActionButtonDown(buttonID)


----
== Parameters ==
;''Arguments''
=== Arguments ===
* buttonID (number) - The button ID of the bonus button to push


:(Number buttonID)
== Example ==
BonusActionButtonDown(1)


:;buttonID : The button ID of the bonus button to push
== Notes ==
 
* Removed in patch 5.0.4.
----
;''Returns''
 
:;nil
 
----
;''Example''
BonusActionButtonDown(1);
 
;''Result''
 
----
;''Description''
 
: Press the specified bonus(pet or minion) action button.
 
----
{{Template:WoW API}}

Latest revision as of 04:45, 15 August 2023

WoW API < BonusActionButtonDown

"I" iconThis function is implemented in Lua here FrameXML/BonusActionBarFrame.lua.

Presses the specified "bonus" (pet or minion) action button.

BonusActionButtonDown(buttonID)

Parameters[edit]

Arguments[edit]

  • buttonID (number) - The button ID of the bonus button to push

Example[edit]

BonusActionButtonDown(1)

Notes[edit]

  • Removed in patch 5.0.4.