Game Development Community

Menu keybinding

by Travis Vroman · in Torque Game Engine · 08/09/2003 (4:45 pm) · 2 replies

I have created a gui for a menu to be used in game (I'm using TGE). However, I can't figure out how to make it so that when you press M the menu comes up, and when you press it again it goes away. How do I do this?

Thanks,

-Barzahd

#1
08/11/2003 (1:32 pm)
I try not to bump things but I really need help on this.

Thanks,

-Barzahd
#2
08/11/2003 (1:43 pm)
This is easy,
you simply need to examine the scripts in place that operate the current menu..
for example:
find where the escape key is binded.
and from there follow the execution path to find how it stuck in the "dialog box"
this is generally what You want to do.