WoW:API IsAttackAction: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 16: Line 16:
__NOTOC__
__NOTOC__
{{Template:WoW API}}
{{Template:WoW API}}
[[Category:API Functions|IsAttackAction]]
[[Category:API Action Functions|IsAttackAction]]

Revision as of 18:43, 3 January 2006

IsAttackAction - Documentation by Flickering

Determine whether action slot is an attack action.

isAttack = IsAttackAction(actionSlot)

Parameters

Arguments

(actionSlot)
actionSlot
Numeric - The action slot to test.

Returns

isAttack
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.

Template:WoW API