Hello there! We are conducting a survey to better understand the user experience in making a first edit. If you have ever made an edit on Gamepedia, please fill out the survey. Thank you!

API UnitCreatureType

From Wowpedia
Jump to: navigation, search

Returns the creature type of the specified unit.

creatureType = UnitCreatureType("unit")

Arguments

unit 
String (unitId) - the unit to query creature type of.

Returns

creatureType 
String - the localized creature type of the unit, or nil if the unit does not exist, or if the unit's creature type isn't available.

Notes

  • The default Blizzard UI displays an empty string instead of "Not specified" for units with that creature type.
  • Known return values include:
enUS deDE esES esMX frFR itIT ptBR ruRU koKR zhCN zhTW
Aberration
Beast Wildtier Bestia Bestia Bête Bestia Fera Животное 야수 野兽 野獸
Critter Kleintier Alma Alma Bestiole Animale Bicho Существо 동물 小动物 小動物
Demon Dämon Demonio Demonio Démon Demone Demônio Демон 악마 恶魔 惡魔
Dragonkin Drachkin Dragon Dragón Draconien Dragoide Dracônico Дракон 용족 龙类 龍類
Elemental Elementar Elemental Elemental Élémentaire Elementale Elemental Элементаль 정령 元素生物 元素生物
Gas Cloud Gaswolke Nube de Gas Nube de Gas Nuage de gaz Nube di Gas Gasoso Газовое облако 가스 气体云雾 氣體雲
Giant Riese Gigante Gigante Géant Gigante Gigante Великан 거인 巨人 巨人
Humanoid Humanoid Humanoide Humanoide Humanoïde Umanoide Humanoide Гуманоид 인간형 人型生物 人型生物
Mechanical Mechanisch Mecánico Mecánico Machine Meccanico Mecânico Механизм 기계 机械 機械
Non-combat Pet Haustier Mascota no combatiente Mascota mansa Familier pacifique Animale Non combattente Mascote não-combatente Спутник 애완동물 非战斗宠物 非戰鬥寵物
Not specified Nicht spezifiziert No especificado Sin especificar Non spécifié Non Specificato Não especificado Не указано 기타 未指定 不明
Totem Totem Tótem Totém Totem Totem Totem Тотем 토템 图腾 圖騰
Undead Untoter No-muerto No-muerto Mort-vivant Non Morto Renegado Нежить 언데드 亡灵 不死族
Wild Pet Ungezähmtes Tier Mascotte sauvage