Fandom

WoWWiki

API IsAttackAction

104,824pages on
this wiki
Add New Page
Talk0 Share
WoW API < IsAttackAction

Determine whether action slot is an attack action.

isAttack = IsAttackAction(actionSlot)

Parameters Edit

Arguments Edit

actionSlot 
Numeric - The action slot to test.

Returns Edit

isAttack 
Flag - nil if the specified slot is not an attack action, or is empty. 1 if the slot is an attack action and should flash red during combat.

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.