WoW:API GetShapeshiftFormInfo: Difference between revisions

no edit summary
No edit summary
 
No edit summary
Line 3: Line 3:
Retrieves information about an available Shapeshiftform or Stance.
Retrieves information about an available Shapeshiftform or Stance.


  icon, name, active = GetShapeshiftFormInfo(index);
  icon, name, active, castable = GetShapeshiftFormInfo(index);


----
----
Line 18: Line 18:
:; name: Name of the ShapeshiftForm or Stance (optional)
:; name: Name of the ShapeshiftForm or Stance (optional)
:; active: Returns 1 if this ShapeshiftForm/Stance is currently active, else 0 (optional)
:; active: Returns 1 if this ShapeshiftForm/Stance is currently active, else 0 (optional)
:; castable: identifies if its castable.


----
----
Line 24: Line 25:
  icon, name = GetShapeshiftFormInfo(1);
  icon, name = GetShapeshiftFormInfo(1);
  icon, name, active = GetShapeshiftFormInfo(1);
  icon, name, active = GetShapeshiftFormInfo(1);
icon, name, active, castable = GetShapeshiftFormInfo(1);


----
----
{{Template:WoW API}}
{{Template:WoW API}}
Anonymous user