C_PlayerInfo.GetAlternateFormInfo

From Warcraft Wiki
Jump to navigation Jump to search
GitHub Octocat.png  Townlong-Yak BAD.png  ProfIcons engineering.png  BTNTemp.png C_PlayerInfo.GetAlternateFormInfo TheWarWithin-Icon-Inline.pngDragonflight-Icon-Inline.pngCata-Logo-Small.pngWrath-Logo-Small.pngWoW Icon update.png + 9.1.0 / 1.15.0
BTNTemp.png HasAlternateForm + 4.0.6

Returns if the player has an alternate form and if they are currently in that form.

hasAlternateForm, inAlternateForm = C_PlayerInfo.GetAlternateFormInfo()

Returns

hasAlternateForm
boolean
inAlternateForm
boolean - Whether the player is in their alternate form (such as in human form for worgen).

Patch changes

Shadowlands Patch 9.1.0 (2021-06-29): Added.