v0.13.8

UnitCreatureFamily

functionimplementedavailable in: camelot

Returns the creature type of the unit (e.g. Crab).

signaturewowlua
function UnitCreatureFamily(    unit: string): (string, number)

Parameters

nametype
unitstring

Returns

#nametypedescription
1namestringlocalized name of the creature family (e.g., "Crab" or "Wolf").
2idnumber

In wowlua's emulated client

implementedwowlua models the system behind it. what the statuses mean

Restrictions

sources

Signature and flags: Blizzard's API documentation (Blizzard_APIDocumentationGenerated) (Unit system, camelot 1.60.1). Description: warcraft.wiki.gg's API pages ↗, by its contributors, CC BY-SA 4.0 ↗.