Game Development Community

Can you rename SimGroups?

by Infinitum3D · in Torque Game Engine · 09/11/2008 (7:58 am) · 4 replies

The Inspector in TGE1.5.2 doesn't allow SimGroups to be renamed. Short of creating a new SimGroup and transferring everything into it, is there anyway to rename a SimGroup?

Thanks!

Tony

#1
09/11/2008 (1:09 pm)
I haven't tried that in the editor, but if all else fails you can do it by editing your mis file.
#2
09/11/2008 (2:17 pm)
Ah! Yes. Great idea.

Thanks!

Tony
#3
09/11/2008 (3:19 pm)
You could probably close the world editor,
pop up the console,
and enter
oldName.setName("newName");

and then reopen the world editor.

- yeah, works in 1.3.
#4
09/11/2008 (3:23 pm)
Thanks Orion!

I'll try it in 1.5.2

Tony