Turning off mouse button autorepeat
by Arkadiusz Dymek · in Torque Game Engine · 11/18/2004 (7:38 am) · 2 replies
Hi,
Anyone knows how to change mouse button behaviour, so it doesn't generate triggerDown repeatedly? I want player to be forced to press mouse button each time he wants to shot
cheers,
Arkadesh
Anyone knows how to change mouse button behaviour, so it doesn't generate triggerDown repeatedly? I want player to be forced to press mouse button each time he wants to shot
cheers,
Arkadesh
#2
For future reference of people searching for this answer I'll paste the changes:
// Fire the weapon. Calls the fire script which does
// the actual work.
stateName[3] = "Fire";
//stateTransitionOnTimeout[3] = "Ready";
stateTransitionOnTriggerUp[3] = "Ready";
cheers,
Arkadesh
11/18/2004 (8:11 am)
Thanks a lot for pointing me in the right direction.. It was really easy... For future reference of people searching for this answer I'll paste the changes:
// Fire the weapon. Calls the fire script which does
// the actual work.
stateName[3] = "Fire";
//stateTransitionOnTimeout[3] = "Ready";
stateTransitionOnTriggerUp[3] = "Ready";
cheers,
Arkadesh
Associate Anthony Rosenbaum