RSS

Четверг, 28.03.2024, 13:49
Главная » WoW API » API Функции » Спелл »

IsSpellOverlayed

[ править ]
Checks if a given spell ID has an active spell overlay.
[клоны]
Checks if a given spell ID has an active spell overlay. This function continues to return expected results even if the user has spell overlays disabled, and is used internally to check if an action button should display a glow. This function does not work with macro ID's.

Signature:
Code
state = IsSpellOverlayed(spellID)

Arguments:
  • spellID - The ID of the spell to check. (integer)

Returns:
  • state - 1 if the passed spell ID has an associated spell overlay active, nil otherwise. (boolean)

Также смотрите: Спелл , Spell functions, Action functions
Ссылки: http://wowprogramming.com/docs/api/IsSpellOverlayed