WoW:API IsAttackAction: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
m (Cleanup) |
||
Line 6: | Line 6: | ||
== Parameters == | == Parameters == | ||
=== Arguments === | === Arguments === | ||
:;actionSlot : Numeric - The action slot to test. | :;actionSlot : Numeric - The action slot to test. | ||
=== Returns === | === Returns === | ||
:;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. | :;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. | ||
---- | ---- | ||
__NOTOC__ | __NOTOC__ |
Revision as of 18:49, 8 November 2008
Determine whether action slot is an attack action.
isAttack = IsAttackAction(actionSlot)
Parameters
Arguments
- actionSlot
- Numeric - The action slot to test.
Returns
- 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.