WoW:API BonusActionButtonDown: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
No edit summary
({{framexmlfunc|FrameXML/BonusActionBarFrame.lua}} __NOTOC__)
Line 1: Line 1:
<center>'''BonusActionButtonDown''' ''-Documentation by AlexanderYoshi-''</center>
{{framexmlfunc|FrameXML/BonusActionBarFrame.lua}} __NOTOC__


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


  BonusActionButtonDown(buttonID);
  BonusActionButtonDown(buttonID);


----
Presses the specified "bonus" (pet or minion) action button.
;''Arguments''


:(Number buttonID)


:;buttonID : The button ID of the bonus button to push
== Parameters ==
=== Arguments ===


----
:;buttonID : Number - The button ID of the bonus button to push
;''Returns''
 
=== Returns ===


:;nil
:;nil


----
=== Example ===
;''Example''
  BonusActionButtonDown(1);
  BonusActionButtonDown(1);
;''Result''
----
;''Description''
: Press the specified bonus(pet or minion) action button.
----
{{Template:WoW API}}

Revision as of 13:38, 5 September 2006

WoW API < BonusActionButtonDown

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


BonusActionButtonDown(buttonID);

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


Parameters

Arguments

buttonID
Number - The button ID of the bonus button to push

Returns

nil

Example

BonusActionButtonDown(1);