Jump to content
Sign in to follow this  
dreadedentity

Is there any way to get the player's keybindings?

Recommended Posts

Title says it all. I just want to know if there's a way I can get them. If not, how many would be interested in such a feature? I will request it in the issue tracker if people want that.

Share this post


Link to post
Share on other sites

I was looking into this to make an addon for a friend who played infrequently and kept forgetting his binds.

https://community.bistudio.com/wiki/actionKeys

Happy to collaborate or pass over my ideas, depending on what you were hoping to achieve.

Ps: and CBA provides a way to retrieve settings for any key binds you've registered via their system too.

Share this post


Link to post
Share on other sites

Thanks! Honestly I had no idea these commands existed, and I pride myself on having a good portion of the wiki memorized. Is there a way I can look at the action names for Arma 3? I noticed the wiki doesn't have a page so it has to be in-game I guess.

I don't really have a specific project in mind, really just general knowledge-gathering. Somebody was asking yesterday or the day before how to "disable" use of the map and I wrote something that "disabled" the M key, but all players had to do was re-map to get around this, that's what got me wondering.

I have downloaded CBA so I could use one or two mods, but wouldn't that require players to also run CBA? I really hate dependencies.

Share this post


Link to post
Share on other sites
I have downloaded CBA so I could use one or two mods, but wouldn't that require players to also run CBA? I really hate dependencies.

Yeah it dependencies your script/mission if you use any of the CBA contents, sadly... :(

Share this post


Link to post
Share on other sites

You can find keynames from here: C:\Username\Documents\Arma 3\Username.Arma3Profile

To disable the map key, add KeyDown EH and use this:

_handled = false;
if ((_this select 1) in actionKeys "ShowMap") then {_handled = true};
_handled;

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×