Activate right mouse button?
by C. N. · in Torque Game Engine · 08/04/2006 (8:45 pm) · 2 replies
Hi,
I've been searching all night for a way to activate the right mouse button. It seems in the starter.fps all I can use is the left mouse button.
moveMap.bind(mouse, button0, mouseFire);
So, shouldn't binding function calls to the right mouse button (or any mouse button) work like:
moveMap.bind(mouse, button1, functionCall);
moveMap.bind(mouse, button2, anotherFunctionCall);
Just got TGE today so I'm not sure how to do this.
Thanks for any advice.
EDIT: Hmm, those functions work like a charm in the tutorial.base but not the starter.fps. Nevermind... :)
I've been searching all night for a way to activate the right mouse button. It seems in the starter.fps all I can use is the left mouse button.
moveMap.bind(mouse, button0, mouseFire);
So, shouldn't binding function calls to the right mouse button (or any mouse button) work like:
moveMap.bind(mouse, button1, functionCall);
moveMap.bind(mouse, button2, anotherFunctionCall);
Just got TGE today so I'm not sure how to do this.
Thanks for any advice.
EDIT: Hmm, those functions work like a charm in the tutorial.base but not the starter.fps. Nevermind... :)
Torque Owner Tim Heldna