Game Development Community

GuiCheckBoxCtrl assistance, please.

by Nathan Huffman · in Torque Game Engine · 06/12/2006 (2:13 pm) · 2 replies

Hey, gents. Maybe you can help me figure this one out?

Using Torque 1.4 w/ TLK, I've added a GuiCheckBoxCtrl to my interface and set it's "command" to be:

Echo("Test Echo");

...for testing purposes.

When I check the box, it echos twice. When I uncheck the box, it echos twice. Well, this is making it a pain in the rear when I set the command to be something like function ToggleWhatever(), because it's changing whatever's setting then changing it right back!

Could someone help me find out why GuiCheckBoxCtrl is calling it's "command" twice?

#1
06/12/2006 (2:35 pm)
So it is a TGE / 1.4 issue. I posted about this with the bug pointed out on the TSE forums not even 2 minutes ago:

www.garagegames.com/mg/forums/result.thread.php?qt=45792

Edit: Pretty funny that we both posted new threads on the same issue at the exact same time(Jun 12, 2006 14:31).
#2
06/12/2006 (2:47 pm)
Hehe, yeah I came to the same solution just before re-checking my thread. Weird.

Anyways, thanks Josh hehe :)