UnitCreatureType
functionimplementedavailable in: camelot
Returns the creature classification type of the unit (e.g. Beast).
function UnitCreatureType( unit: string): (string, number)Parameters
| name | type |
|---|---|
unit | string |
Returns
| # | name | type | description |
|---|---|---|---|
| 1 | name | 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. |
| 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 ↗.