Fandom

WoWWiki

API GetInventoryAlertStatus

104,634pages 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 < GetInventoryAlertStatus

Returns one of several codes describing the "status" of an equipped item. The main use for this function is generalized durability checks.

alertStatus = GetInventoryAlertStatus("index");

Arguments Edit

index 
String - one of the following:
  • Head
  • Shoulders
  • Chest
  • Waist
  • Legs
  • Feet
  • Wrists
  • Hands
  • Weapon
  • Shield
  • Ranged

Returns Edit

alertStatus 
Number - 0 for normal (6 or more durability points left), 1 for yellow (5 to 1 durability points left), 2 for broken (0 durability points left).

NotesEdit

  • Used primarily for DurabilityFrame, ie the armor man placed under the Minimap when your equipment is damaged or broken.

Also on Fandom

Random Wiki