Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is it possible to force a keybind to change in Lua Script? #16197

Open
Mising0pX opened this issue Jan 26, 2025 · 1 comment
Open

Is it possible to force a keybind to change in Lua Script? #16197

Mising0pX opened this issue Jan 26, 2025 · 1 comment
Labels
help wanted Extra attention is needed

Comments

@Mising0pX
Copy link

Describe your problem here.

So I'm trying to code a mechanic where the opponent will rebind your keybinds to now use different keys on your keyboard but I'm coding in .lua script exclusively it isn't working as it's not even allowing me to callback the key or it's ID to begin with, and I have a suspicion it doesn't allow for that.

I have been checking the Haxe script to see how that all works internally but even that hasn't helped me, so any help is welcome!!

Are you modding a build from source or with Lua?

Lua

What is your build target?

Windows x64

Did you edit anything in this build? If so, mention or summarize your changes.

No response

@Mising0pX Mising0pX added the help wanted Extra attention is needed label Jan 26, 2025
@crowplexus
Copy link
Contributor

not reliably but you can try
Image
to set different keys to this array
you can see which ones can be set in ClientPrefs
Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants