WoW:API IsAttackAction: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
(upgraded deprecated template)
mNo edit summary
Line 1: Line 1:
{{wowapi}}
{{wowapi}}
<center>'''IsAttackAction''' - ''Documentation by [[User:Flickering|Flickering]]''</center>


Determine whether action slot is an attack action.
Determine whether action slot is an attack action.

Revision as of 18:08, 2 November 2007

WoW API < IsAttackAction

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.