Jump to content
Sign in to follow this  
fzombie

How do I onKeyPress to load a menu?

Recommended Posts

Since I have to re-write my scripts for arma3 anyways I've decided I'd like to add a onKeyPress event for a menu as soon as the player spawns.

I have the menu how do I add the keypress event handler?

Once my task is complete I'll be releasing the rest of the code and mission pbo.

Thanks a lot for any help you can give. My brain seemed to just stop working after so much coding.

Share this post


Link to post
Share on other sites

This could be a good starting point displaySetEventHandler havent tried it my

self but apparently display 46 is the default display as in the example code on that page.

EDIT: Tested this out, seems to work, just used the example from that link. Only problem im having is that it dosnt work first time but only after i restart the Mission. :confused:

Edited by Larrow

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  

×