RSS

Суббота, 21.12.2024, 21:37
Главная » WoW API » API Функции » Действия »

IsActionInRange

[ править ]
Returns whether the player's target is in range of an action.
[клоны]
Returns whether the player's target is in range of an action.

Signature:
Code
inRange = IsActionInRange(slot [, "unit"])

Arguments:
  • slot - An action bar slot (number, actionID)
  • unit - A unit to target with the action (string, unitID)

Returns:
  • inRange - 1 if the player's target is in range for the action or 0 if out of range; nil if the action cannot be used on the player's target regardless of range (number)

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