Wowpedia
Advertisement
Wowpedia
240,485
pages
Game Flavors
Links
Patch
Added in 1.1.0 / 1.13.2

Returns whether an action is in range for use.

inRange = IsActionInRange(actionSlot)

Arguments

actionSlot 
number - The action slot to test.

Returns

inRange 
boolean - nil if the slot has no action, or if the action cannot be used on the current target, or if range does not apply; false if the action is out of range, and true otherwise.

Patch Changes

  • Warlords of Draenor Patch 6.0.2 / API (2014-10-14): Return values are now true/false instead of 1/0


See also

Advertisement