LuaSlinger»Get Current Shapeshift Stance Form

Get Current Shapeshift Stance Form

Get current Shapeshift/Stance form

function stkGetShapeshiftForm()
  local myForm = ""
  local numForms = GetNumShapeshiftForms()
  for i=1, numForms,1 do 
    icon,name,active=GetShapeshiftFormInfo(i)
    if (active==1) then
      myForm=name
      break
    end
  end
  return myForm
end