KeyUI

KeyUI

3k Downloads

GetShapeshiftFormInfo

1onar opened this issue ยท 0 comments

commented

Returns info for an available form or stance.

icon, active, castable, spellID = GetShapeshiftFormInfo(index)

Arguments

index
    number - index, ascending from 1 to [GetNumShapeshiftForms](https://warcraft.wiki.gg/wiki/API_GetNumShapeshiftForms)()

Returns

icon
    string - Path to icon texture
active
    boolean - 1 if this shapeshift is currently active, nil otherwise
castable
    boolean - 1 if this shapeshift form may be entered, nil otherwise
spellID
    number - ID of the spell that activates this ability