Thread Tools Display Modes
Prev Previous Post   Next Post Next
06-23-22, 07:24 AM   #1
Firesong
A Deviate Faerie Dragon
Join Date: Jan 2022
Posts: 19
Question 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?
  Reply With Quote
 

WoWInterface » Developer Discussions » Lua/XML Help » Key Bindings Puzzle


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off