Game Development Community

Mod key values

by Drew -Gaiiden- Sikora · in Torque Game Builder · 12/17/2005 (1:23 pm) · 2 replies

In the mouse button callbacks, I used echo() to determine that the Ctrl key is 4 and created a global variable with that value to use, but I'd like to know the official torquescript values for future use

#1
12/17/2005 (11:10 pm)
Check the engine source file sim/actionMap.cc around line 1425 and platform/event.h around line 180 for the full list. The former shows the script name mapping to the constant, and the latter shows the values of the constants.
#2
12/18/2005 (10:18 am)
Thanks man, I'll check it out