WoW:API IsActionInRange: Difference between revisions
Jump to navigation
Jump to search
IsActionInRange - Documentation by Flickering
mNo edit summary |
No edit summary |
||
| Line 13: | Line 13: | ||
:;inRange : Flag - nil if the slot has no action or has an action to which range does not apply. 0 if the action is out of range, and 1 if the action is in range. | :;inRange : Flag - nil if the slot has no action or has an action to which range does not apply. 0 if the action is out of range, and 1 if the action is in range. | ||
=== Note === | |||
This always returns 1 when testing range from a macro. | |||
---- | ---- | ||
__NOTOC__ | __NOTOC__ | ||
{{Template:WoW API}} | {{Template:WoW API}} | ||
[[Category:API Action Functions|IsActionInRange]] | [[Category:API Action Functions|IsActionInRange]] | ||
Revision as of 10:46, 27 May 2005
Test whether an action is in range for use.
inRange = IsActionInRange(actionSlot)
Parameters
Arguments
- (actionSlot)
- actionSlot
- Numeric - The action slot to test.
Returns
- inRange
- inRange
- Flag - nil if the slot has no action or has an action to which range does not apply. 0 if the action is out of range, and 1 if the action is in range.
Note
This always returns 1 when testing range from a macro.