Envision, Create, Share

Welcome to HBGames, a leading amateur game development forum and Discord server. All are welcome, and amongst our ranks you will find experts in their field from all aspects of video game design and development.

F1

Hi,
I'm just wondering...

Does anyone know what I can put in a script, to do the same thing pressing F1 does? By that I mean open up the options panel. Like for example, if I wanted talking to an NPC to open the options panel, what would I put in the call script.

Thanks.
 
it's something just like these fullscreen scripts do. they press alt+enter without pressing them.
Code:
$showm = Win32API.new 'user32', 'keybd_event', %w(l l l l), ''
$showm.call(18,0,0,0)   # alt down
$showm.call(13,0,0,0)   # enter down
$showm.call(13,0,2,0)   # enter up
$showm.call(18,0,2,0)   # enter up
you just have to know how to call F1 this way
 

Thank you for viewing

HBGames is a leading amateur video game development forum and Discord server open to all ability levels. Feel free to have a nosey around!

Discord

Join our growing and active Discord server to discuss all aspects of game making in a relaxed environment. Join Us

Content

  • Our Games
  • Games in Development
  • Emoji by Twemoji.
    Top