How to know if Druid is in cat form? (Classic)
Hi,
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?
https://wow.gamepedia.com/API_GetShapeshiftForm |
Thanks, I will try this.
At the Moment I use this: Code:
local s = nil Any ideas? |
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.. API GetShapeshiftFormInfo Retrieves information about an available shapeshift form or similar ability. icon, active, castable, spellID = GetShapeshiftFormInfo(index); Arguments index Number - index, ascending from 1 to GetNumShapeshiftForms() Returns icon String - Path to icon texture active Flag - 1 if this shapeshift is currently active, nil otherwise castable Flag - 1 if this shapeshift form may be entered, nil otherwise spellID Number - ID of the spell that activates this ability Notes As well as druid shapeshifting, warrior stances, paladin auras, hunter aspects, death knight presences, and shadowform use this API. Quote:
|
Thanks that was it :)
|
Quote:
Better double-check. 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 05:22 AM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI