WoW:API IsActionInRange: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 14: Line 14:
:;inRange : Flag - nil if the slot has no action or if there is no current target. 0 if the action is out of range, and 1 if the action is in range. Note that it always returns 1 if range does not apply to this action  or if you can't use the spell on the target.
:;inRange : Flag - nil if the slot has no action or if there is no current target. 0 if the action is out of range, and 1 if the action is in range. Note that it always returns 1 if range does not apply to this action  or if you can't use the spell on the target.


[[Category:API Functions|IsActionInRange]]
----
[[Category:API Action Functions|IsActionInRange]]
{{template:WoW API}}

Revision as of 22:30, 30 December 2005

IsActionInRange - Documentation by Flickering

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 if there is no current target. 0 if the action is out of range, and 1 if the action is in range. Note that it always returns 1 if range does not apply to this action or if you can't use the spell on the target.

Template:WoW API