UnitCreatureFamily
functionimplementedavailable in: camelot
Returns the creature type of the unit (e.g. Crab).
function UnitCreatureFamily( unit: string): (string, number)Parameters
| name | type |
|---|---|
unit | string |
Returns
| # | name | type | description |
|---|---|---|---|
| 1 | name | string | localized name of the creature family (e.g., "Crab" or "Wolf"). |
| 2 | id | number |
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 ↗.