RSS

Пятница, 15.11.2024, 01:32
Главная » WoW API » API Функции » Действия »

UseAction

[ править ]
Uses an action.
[клоны]
Uses an action.

Signature:
Code
UseAction(slot [, "target" [, "button"]])

Arguments:
  • slot - An action bar slot (number, actionID)
  • target - A unit to be used as target for the action (string, unitID)
  • button - Mouse button used to activate the action (string)
      Button4 - Fourth mouse button
    • Button5 - Fifth mouse button
    • LeftButton - Left mouse button (also used when the action is activated via keyboard)
    • MiddleButton - Third mouse button (typically middle button / scroll wheel)
    • RightButton - Right mouse button

This function is protected and can only be called by the Blizzard user interface

Также смотрите: Действия , Action functions
Ссылки: http://wowprogramming.com/docs/api/UseAction