About 'return' key
by Tuanlucky · in Torque Game Engine · 09/07/2006 (11:13 pm) · 0 replies
Hi all,
In my client/config.cs file has this:
moveMap.bindCmd(keyboard, "escape", "", "escapeFromGame();");
So it means I can do the 'escapeFromGame' function if I pressed 'escape' key.
But when I added this:
moveMap.bind(keyboard, "return", doReturn);
or
moveMap.bindCmd(keyboard, "return", "", "doReturn();");
and pressed 'return' key, it did nothing.
So could some body help me to do this?
Thanks alot.
In my client/config.cs file has this:
moveMap.bindCmd(keyboard, "escape", "", "escapeFromGame();");
So it means I can do the 'escapeFromGame' function if I pressed 'escape' key.
But when I added this:
moveMap.bind(keyboard, "return", doReturn);
or
moveMap.bindCmd(keyboard, "return", "", "doReturn();");
and pressed 'return' key, it did nothing.
So could some body help me to do this?
Thanks alot.