Jump to content
kodi1988

Set hotkey to scroll menu options

Recommended Posts

Hello! I don't know if somebody else asked  same question before. I would like to assign a key on my keyboard to a specific scroll menu option.

Here's an exemple: i'd like to assign the "ò" key to the "open ramp" function. Or the "à" key to "collision lights on" function. Since these functions are not in the default command list i need a step by step guide to learn how to do that. Can anybody help me?

 

Share this post


Link to post
Share on other sites

Create a key handler for those keys and apply that action to cursor target or vehicle player.

Sent from my WAS-LX1A using Tapatalk

Share this post


Link to post
Share on other sites

Thx for the answer mate. But can you please be more precise, because i'm not an expert and i need more specific instructions..I'm trying googling but i can't find anything useful..should i use a particular program? Or simply is there a guide i could follow?

Share this post


Link to post
Share on other sites

I don't have a PC at the moment.
This is a massively overkill implementation of what you want: https://github.com/AsYetUntitled/Framework/blob/master/Altis_Life.Altis/core/functions/fn_keyHandler.sqf
Perform some checks as to whether you are in or near a vehicle. Implement this somewhere: https://community.bistudio.com/wiki/User_Interface_Event_Handlers

And your are good to go.


Sent from my WAS-LX1A using Tapatalk

Share this post


Link to post
Share on other sites

Sorry I was not specific enough, you would needed to script something and load it as a mod or as part of your mission.

Sent from my WAS-LX1A using Tapatalk

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

×