Game Development Community

Key binding not working

by Christian · in Torque Game Engine · 12/11/2006 (11:22 pm) · 1 replies

I'm trying to bind keys so that when I hold my right mouse button and hit 'd', my character will run right (I have it currently turning right for d. My code in config.cs and default.bind is

moveMap.bind(mouse0, "button1 d", moveright); and
moveMap.bind(mouse0, button1 d, moveright);

Is there a way to do this?

#1
12/12/2006 (4:44 am)
I dont think button1 d would work i think itd have to be something like button1 + d or something