Bindings with keystate

avatar
1 year, 2 months ago

Hi! I tried to create a addon that swaps the main bar on keypress to bar 2 and releasing the button it should swap the mainbar to bar 1.


        <Binding name="Swap" header="Extra" runOnUp="true">
                  if (keystate == "up") then
                            ChangeActionBarPage(1);
                  else
                            ChangeActionBarPage(2);
                  end
        </Binding>

Everything works fine, but in Combat u cant swap the bars. I have no idea why can somebody tell me why or tell me what I should change in this code?

avatar
1 year, 2 months ago

In combat many of the standard ui commands are disabled, like moving UI parts

Quick Reply

You need to login or register to post comments.

Benefits of Registration

  • Interact with hundreds of thousands of other gamers on an open social network.
  • Post your stories, news, images, videos, and other content to share.
  • Create a network with your fellow gamers or join an existing one.
  • Gain reputation for everything you do.