Fandom

WoWWiki

API UseEquipmentSet

104,755pages on
this wiki
Add New Page
Talk0 Share
WoW API < UseEquipmentSet

Equips items from a specified equipment set.

success = UseEquipmentSet("name");

ArgumentsEdit

name 
String - equipment set name.

ReturnsEdit

success 
Boolean - true if the set was equipped, nil otherwise. Failure conditions include invalid arguments, and engaging in combat.

ExampleEdit

local name = GetEquipmentSetInfo(1);
local ok = UseEquipmentSet(name);
if ok then
 print("You're now clad in " .. name);
end

NotesEdit

This function does not produce error messages. FrameXML/EquipmentManager.lua provides EquipmentManager_EquipSet("name"), which will provide the player with an error message if the equip action fails (but does not provide you with a return value).


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.