RSS

Воскресенье, 22.12.2024, 09:14
Главная » WoW API » API Функции » Питомцы »

CastPetAction

[ править ]
Casts a pet action on a specific target.
[клоны]
Casts a pet action on a specific target.

Signature:
Code
CastPetAction(index [, "unit"])

Arguments:
  • index - Index of a pet action button (between 1 and NUM_PET_ACTION_SLOTS) (number)
  • unit - A unit to be used as target for the action (string, unitID)

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

Также смотрите: Питомцы , Action functions, Pet functions
Ссылки: http://wowprogramming.com/docs/api/CastPetAction