How to know if Druid is in cat form? (Classic)
hope someone can help me.
How can I get the Info the the Druid is in cat Form or not in classic?
In retail I used for this GetShapeshiftFormId() but this ruction does not exist in classic.
Have you tried GetShapeshiftForm?
Thanks, I will try this.
At the Moment I use this:
You should note that Wiki is out of date info. Nane was removed for GetShapshifeFormInfo. It is currently
icon, isActive, isCastable, sID = GetShapeshiftFormInfo...
You would need to change the 3 to 2 to detect the active form of the player..
Retrieves information about an available shapeshift form or similar ability.
icon, active, castable, spellID = GetShapeshiftFormInfo(index);
Number - index, ascending from 1 to GetNumShapeshiftForms()
String - Path to icon texture
Flag - 1 if this shapeshift is currently active, nil otherwise
Flag - 1 if this shapeshift form may be entered, nil otherwise
Number - ID of the spell that activates this ability
As well as druid shapeshifting, warrior stances, paladin auras, hunter aspects, death knight presences, and shadowform use this API.
Thanks that was it :)
FYI, instead of WowWiki, please use this instead: https://wow.gamepedia.com/Wowpedia:I..._customization at least for retail.
|All times are GMT -6. The time now is 01:54 PM.|
vBulletin © 2021, Jelsoft Enterprises Ltd
© 2004 - 2020 MMOUI