Jump to content
Sign in to follow this  
BadHabitz

Adding keybinds to action menu items

Recommended Posts

Ok, I completely suck when it comes to scripting. I might be better at reading ancient Egyptian hieroglyphics, and I can't do that at all.

The problem I have is that there are some functions I'd like to use in game when I'm flying helicopters, without having to use my mouse. I want keybinds that I can map to my HOTAS setup.

 

What I'm trying to do is make a mod that associates 'collision lights on/collision lights off' to a keybind. I'd also like a keybind for turning on/off interior red lights. Doesn't matter to me if I have to use CBA and Configure Addons, or just the Custom controls in the Configure menu.

I've looked at the following links and can't make heads/tails of it, but I have been trying to figure it out.

http://dev.withsix.com/projects/cca/wiki/Keybinding

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

https://community.bistudio.com/wiki/inputAction/actions

https://community.bistudio.com/wiki/inputAction/actions/bindings

 

So if anyone can help, or try to mentor me, I'd appreciate it. Thanks

Share this post


Link to post
Share on other sites

It's doable... need to build an addon and use cba keybinding to call function or script.

Problem will be figuring out how addon triggers lights etc. Sometimes it's easy and sometimes it's a total pita.

I've built a couple scripts into addons for personal use.

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  

×