FANDOM


GetActionUsable( slotno )

Find out if an action icon placed on an action bar can be used or not.

Parameters Edit

Arguments Edit

slotno
number - the slot number of an action bar.

Returns Edit

flag
Boolean value. true if action is usable, false otherwise.

Example Edit

-- Print if an action is usable or not to the Say channel.
local function PrintUsable( slotno )
   if( GetActionUsable( slotno ) then
      SendChatMessage("My action is usable.","SAY");
   else
      SendChatMessage("My action is not usable.","SAY");
   end
end

Notes Edit

File:GetActionUsable.png

Reference to slot numbers.

Related Functions Edit

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.