Game Development Community

F10 and F11 function

by Temasek Polytechnic Tp8 · in Torque Game Engine · 07/02/2006 (7:03 pm) · 6 replies

Is that anyway to disable this 2 button so as normal player cannot access this function

#1
07/02/2006 (7:43 pm)
Yes, to disable F11 just look for string "GlobalActionMap.bind(keyboard, "f11", toggleEditor);" and comment that. If you can still use F11 after this, you need to delete your key binding files in order to reset them.
#2
07/02/2006 (11:52 pm)
"GlobalActionMap.bind(keyboard, "f11", toggleEditor);"


This is located at which folder/file
#3
07/03/2006 (12:11 am)
Yes it work... i manage to remove f11


how about f10
#4
07/03/2006 (12:49 am)
I solve it thank jari
#5
07/03/2006 (2:04 am)
You might also want to remove the directories as the used could just open the console and type toggleEditor. Remember to remove the exec() as it'll generate warnings in the logfile, which potentially is a way a hacker can gain access to your gamecode.
#6
03/11/2011 (3:34 pm)
Which file/folder is this in?