Clicking on a GuiButtonCtrl and GUITextCtrl in PlayGui?
by GG Fanatic · in Torque Game Engine · 09/08/2005 (11:37 am) · 1 replies
I'm trying to add a GuiButtonCtrl and GuiTextCtrl to a game gui (PlayGui, from starter.fps), but I can't click on them or manipulate them in anyway.
Is there some way of doing that, to somehow "disconnect" the mouse from driving the player so I could click on a control?
Failing that, could I create a separate window, and then communicate with the window with the PlayGui?
Thanks for any info,
Michael Rogers
Is there some way of doing that, to somehow "disconnect" the mouse from driving the player so I could click on a control?
Failing that, could I create a separate window, and then communicate with the window with the PlayGui?
Thanks for any info,
Michael Rogers
Torque Owner Kevin Johnson
function toggleMouse(%val){ if(%val) { if(Canvas.isCursorOn()) CursorOff(); else CursorOn(); } }