C_EquipmentSet.UseEquipmentSet

From Warcraft Wiki
Jump to navigation Jump to search
GitHub Octocat.png  Townlong-Yak Globe.png  Townlong-Yak BAD.png  Blizz.gif  ProfIcons engineering.png C_EquipmentSet.UseEquipmentSet 11.1.5 (60428)4.4.2 (59734)1.15.7 (60191) + 7.2.0 / 2.5.1 / 1.14.0
GitHub Octocat.png  Townlong-Yak Globe.png  Wowprogramming.png UseEquipmentSet + 3.1.0

Equips items from a specified equipment set.

setWasEquipped = C_EquipmentSet.UseEquipmentSet(equipmentSetID)

Arguments

equipmentSetID
number

Returns

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

Details

  • This function does not produce error messages when it fails.
  • FrameXML's EquipmentManager_EquipSet("name") will produce a visible error, but will not provide a return value indicating success/failure.