Fandom

WoWWiki

API UseEquipmentSet

104,631pages on
this wiki
Add New Page
Talk0 Share

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.

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).


Also on Fandom

Random Wiki