Key Bindings Puzzle
https://wowpedia.fandom.com/wiki/API_GetBinding
I've all my keys set to default. The code sample for me just prints "Movement Keys > Turn Right (TURNRIGHT) is bound to: " So GetBinding is getting nothing. https://wowpedia.fandom.com/wiki/API_GetBindingByKey I have "Blade of Justice" on 1. bindingAction = GetBindingByKey("1") print(bindingAction) prints nil Can anyone tell me what I am doing wrong? Is there a WoW settting that is needed for GetBinding or GetBindingByKey to work? |
I have left J mapped to guild panel. Copying the code from the example I have:
Code:
key = "J" |
I'm guessing you're calling
Code:
GetBindingByKey(key) Code:
VARIABLES_LOADED Running your code in-game after login and loading gets the right keybinding for me. |
Wow - thanks. I did indeed run it from a little addon I use to test things and the code was the first line.
|
All times are GMT -6. The time now is 06:31 AM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI