Game Development Community

OptionsDlg

by Louis Dufresne · in General Discussion · 11/26/2003 (2:50 pm) · 1 replies

I have been trying to get the optionsDlg viewable while playing the game. Is there any way I can map it to a button on the keyboard and when I press it, the optionsDlg pops up? I have been trying this for a little while now with no success. The only way I have found is to bring up the window with the "~" and type Canvas.pushDialog(optionsDlg); Anyone know how to map this to a button?

#1
11/26/2003 (2:58 pm)
Look in fps/client/config.cs for examples of various bind commands. For this you'd want to be using the bindCmd style of binding.

And post in the right forum :-) ("General Discussion: General posts about game development that don't fit anywhere else. Please see the Torque section below for Torque Game Engine specific posts.")