Game Development Community

editor toggle group function

by Sabrecyd · in Torque Game Engine · 10/28/2002 (8:11 am) · 4 replies

Does anyone know where the function "toggleGroupScript" is found/defined? For some reason when I use the editor and click on any of the toggle buttons for any item in the inspector view I get a "unknown command toggleGroupScript" warning in the console window.

I've been trying to figure out where the heck this function is without much luck. The problem has to be from something I did because a freshly compiled engine works fine :( I'm trying to bring over my modified script to a modified HEAD version of the engine. Everything else seems to be fine. If I can find this function I should be able to just add or fix it.

Thanks for any help,
-Sabrecyd

#1
10/29/2002 (2:31 am)
Sabrecyd,

A quick grep through the code (HEAD version) shows toggleGroupScript in two places:

1) example\common\ui\InspectDlg.gui (function definition)
2) engine\gui\guiInspector.cc (command/addObject call)

Rich
#2
10/29/2002 (5:04 am)
Thanks very much Rich! That's what I was looking for. I was looking in the common/editor folder for it:/ Anyway, got it fixed and working with my modified files now thanks to you :)

-Sabrecyd
#3
10/29/2002 (1:03 pm)
Sabrecyd,

Sorry, I didn't see this post sooner, not had much time to browse.

Glad you got it sorted. 8)

- Melv.
#4
10/29/2002 (1:13 pm)
No problem Melv. I figured you might be a little busy ;)