WoW:API HasAction: Difference between revisions
Jump to navigation
Jump to search
m (replaced depricated {{WoW API}} with {{wowapi}}) |
(Copy-edit to fit {{wowapi}}) |
||
Line 1: | Line 1: | ||
{{wowapi}} | {{wowapi}} __NOTOC__ | ||
Tests if an action slot is occupied. | |||
{{Code/Begin}} | |||
hasAction = HasAction(actionSlot) | |||
{{Code/End}} | |||
{{clr}} | |||
== Parameters == | == Parameters == | ||
''Arguments'' | |||
:;actionSlot : | :;actionSlot - [[ActionSlot]] : The tested action slot. | ||
''Returns'' | |||
:;hasAction : | :;hasAction - Flag | ||
:* 1, if the slot contains an action | |||
:* nil, if the slot is empty |
Revision as of 20:07, 16 October 2006
Tests if an action slot is occupied. Template:Code/Begin hasAction = HasAction(actionSlot) Template:Code/End
Parameters
Arguments
- actionSlot - ActionSlot
- The tested action slot.
Returns
- hasAction - Flag
- 1, if the slot contains an action
- nil, if the slot is empty