Lore archive · Warcraft Wiki, 2023 dump
API GetShapeshiftFormID
Last wiki revision 2023-07-10
Returns the ID of the form or stance the player is currently in. index = GetShapeshiftFormID
- index: - one of following:
- All:
- nil = humanoid form
- druid:
- Aquatic Form - 4
- Bear Form - 5 (BEAR_FORM constant)
- Cat Form - 1 (CAT_FORM constant)
- Flight Form - 29
- Moonkin Form - 31 - 35 (MOONKIN_FORM constant) (different races seem to have different numbers)
- Swift Flight Form - 27
- Travel Form - 3
- Tree of Life - 2
- Treant Form - 36
- monk :
- Stance of the Fierce Tiger - 24
- Stance of the Sturdy Ox - 23
- Stance of the Wise Serpent - 20
- rogue:
- Stealth - 30
- shaman:
- Ghost Wolf - 16
- warlock:
- Metamorphosis - 22
- warrior:
- Battle Stance - 17
- Berserker Stance - 19
- Defensive Stance - 18
Similar to the function GetShapeshiftForm(flag), except the values returned are constant and not dependent on forms available to the unit or current class.
Source
https://warcraft.wiki.gg/wiki/API_GetShapeshiftFormID · retrieved 2023-11-13 · CC BY-SA 4.0
Converted from wikitext with templates, tables and images removed, so some sentences may be missing values.
This archive predates WoW: Forever. For collected gameplay facts see the Forever database. Search the archive.