Game Development Community

Button state from script (mouse or keyboard)

by Ero "Super Newbie" Sennin · in Torque Game Engine · 07/19/2004 (5:24 am) · 2 replies

Anyone have any tips for getting a button state from the script (ie. if the player is holding the "e" button) or a least a hint to point me in the right direction.

#1
07/19/2004 (9:51 am)
Maybe check into the options gui. It allows you to map key strokes. Might have something that will get you started.
#2
07/19/2004 (9:59 am)
Check out the ActionMap if you just need to track a set of buttons.