Game Development Community

I'm SO confused

by Veynom · in Torque Game Engine · 03/11/2006 (9:02 pm) · 5 replies

Yarg! all I need to know is what file runs when I push F11 to go into my game from the editor. What I want to do is find where to put my code when the player right clicks in the game. I've looked everywhere and come up with nothing. Please help.

#1
03/11/2006 (9:28 pm)
Look in data/client/scripts/default.bind.cs

-Jase
#2
03/11/2006 (10:07 pm)
That I think is defined in your player datablock.
#3
03/11/2006 (10:30 pm)
Ok heres my real problem

it appears that when the cursor isn't shown, actions are only passed by the action map, yet when the cursor is on it takes mouse events. i want to be able to use the right mouse drag to move the camera
#4
03/11/2006 (10:52 pm)
Ok, I keep learning a little more each time I dig into the forums
based on John Quigley's comments found here http://www.garagegames.com/mg/forums/result.thread.php?qt=38916

"When you call Canvas.cursorOff(), the canvas will stop delivering mouse events to controls on it."

ok so somewhere when the cursor gets turned off, it stops getting mouse events and gets turned over to action maps. What If I don't want to do that? what file do I need to edit so that
a) the cursor doesn't turn off
and
b) the canvas stops delivering mouse events

im really in need of help
#5
03/11/2006 (11:14 pm)
Ok, I keep learning a little more each time I dig into the forums
based on John Quigley's comments found here http://www.garagegames.com/mg/forums/result.thread.php?qt=38916

"When you call Canvas.cursorOff(), the canvas will stop delivering mouse events to controls on it."

ok so somewhere when the cursor gets turned off, it stops getting mouse events and gets turned over to action maps. What If I don't want to do that? what file do I need to edit so that
a) the cursor doesn't turn off
and
b) the canvas stops delivering mouse events

im really in need of help