Jump to content

Recommended Posts

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?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...