Game Development Community

Press any button

by DragonSix · in Torque Game Builder · 05/24/2007 (9:25 pm) · 4 replies

I have very simple questions about keybinding :
1) How can I do a "press any button to continue" script ?
2) As well, I want to make a keybinding options menu, I was trying to figure out the keybinding.cs in "\common\gameScripts\" folder, but with no success >_<. How to achieve that ?

Any lead ?

#1
05/25/2007 (7:18 am)
For question #2, the OptionsDlg that is part of TGB already does what you want :-)

This thread in the TGB GUI forum is all about setting up custom mapping:
http://garagegames.com/mg/forums/result.thread.php?qt=61273

David Higgins also has a TDN tutorial link in that thread somewhere too.
#2
05/25/2007 (9:18 am)
We had a similar task and ended up just explicitely binding every key. - not the greatest but it worked.
#3
05/25/2007 (9:41 am)
Quote:1) How can I do a "press any button to continue" script ?

Do a normal keyboard bind but use "anykey"
#4
05/25/2007 (10:26 am)
I would make it a GlobalActionMap so it would not show up in the key binding window as something you can set.