Jump to content

nfx

Members
  • Posts

    22
  • Joined

  • Last visited

Posts posted by nfx

  1. How can i get the current stance?

    in vanilla i used a lua function llike this:

    function getStance()

        _,_,isActive,_ = GetShapeshiftFormInfo(1);
        if isActive == 1
        then
            _print("Battle Stance")
            return 1
        end
        
        _,_,isActive,_ = GetShapeshiftFormInfo(2);
        if isActive == 1
        then
            --_print("Defensive Stance")
            return 2
        end

        _,_,isActive,_ = GetShapeshiftFormInfo(3);
        if isActive == 1
        then
            --_print("Berserker Stance")
            return 3
        end

    end

     

     

    is it possible to use such functions with wrobot?

×
×
  • Create New...