Game Development Community

How to call mainmenuGUI function by hitting "Alt F4" keys?

by mohanmartin · in Torque Game Builder · 07/24/2008 (12:12 am) · 1 replies

I wish to call mainmenu GUI by hitting "Alt F4" keys, but it quit the project

my coding
moveMap.bind("keyboard", "alt F4", "mainmenu");

how to solve this?

#1
07/24/2008 (3:32 am)
Alt F4 means "close the current window" in windows so I would suggest picking a different combination.