Open main menu
Home
Random
Log in
Settings
About AddOn Studio
Disclaimers
AddOn Studio
Search
Editing
WoW:API IsEquippedAction
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
{{wowapi}} isTrue = IsEquippedAction(slotID) == Parameters == <big>'''Arguments'''</big> <!-- List each argument, together with its type --> :;slotID - [[ActionSlot]] : The tested action <big>'''Returns'''</big> <!-- List each return value, together with its type --> :;isTrue - Flag :* 1 if the specified action is an action that equips a weapon ''and'' if the action has been used to equip the current weapon :* nil otherwise ==Details== <!-- Details not appropriate for the main description can go here. REMOVE the section if you're just going to restate the intro line! --> :An equip action is created if you drag a weapon from the [[Inventory]] to an action bar slot. If you click this action to equip the weapon, the action icon will obtain a green outline. It is in this case that <tt>IsEquippedAction()</tt> returns 1. All other cases (e.g. empty slot, non-equip action, equip action is of the current weapon but hasn't been used yet) will return nil.
Summary:
Please note that all contributions to AddOn Studio are considered to be released under the Creative Commons Attribution-NonCommercial-ShareAlike (see
AddOn Studio Wiki:Copyrights
for details).
Submissions must be written by you, or copied from a public domain or similar free resource (see
AddOn Studio Wiki:Copyrights
for details).
Cancel
Editing help
(opens in new window)
Templates used on this page:
Template:Apinav
(
edit
)
Template:Editlink
(
edit
)
Template:Tocright
(
edit
)
Template:Wowapi
(
edit
)
Close
Loading editor…