Game Development Community

Silly question: how to unbind a key?

by Ehrlich · in Torque Game Builder · 06/27/2007 (7:18 pm) · 2 replies

Thats it... theres a bind command for bindin keys to certain functions or whtever, question is, how do i "unbound" them?... i tried reading the reference that comes with TGB, and dont see any reference to such command...

any ideas?

thx in advance.

About the author

Computer Science Engineer, with interest in Graphicl Computing, unconventional I/O devices and Artificial Intelligence (for games)


#1
06/28/2007 (8:40 am)
Here you go:
moveMap.unbindObj(keyboard, a, %this);

Also, see here:
tdn.garagegames.com/wiki/Torque_Console_Objects
#2
06/28/2007 (11:09 am)
Thank you... gonna give it a try.