name (string) - equipment set name, e.g. "Damage", "Tank", "PvP" etc.
setWasEquipped (boolean) - true if the set was equipped, nil otherwise. Failure conditions include invalid arguments, and engaging in combat.
Equips the equipment set named "Tank".
local name = C_EquipmentSet.GetEquipmentSetInfo(1)
local ok = C_EquipmentSet.UseEquipmentSet(name)
if ok then
print("You're now clad in " .. name);
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).
Moved in patch 7.2.0 (2017-03-28) to C_EquipmentSet.UseEquipmentSet.
Added in Patch 3.0.2 (2008-10-14) as UseEquipmentSet.