Game Development Community

SimGroup creation/deletion in editor

by Desmond Fletcher · in Torque Game Engine · 07/03/2002 (7:09 pm) · 3 replies

After adding a SimGroup and objects into the group, items can be deleted but not the SimGroup. Is there an "undocumented" method to delete a SimGroup (without going into the mission file with a text editor :) ?

#1
07/08/2002 (9:53 pm)
Don't think so... I just took a quick tour through the editor scripts and didn't see anything promising. I'll be happy to be proven wrong of course. :-)
#2
07/09/2002 (12:50 pm)
Joel/Desmond,

Just a thought but a SimGroup is a SimSet which is a SimObject which has a console accessor "%obj.delete()".

Does this work?

- Melv.

EDIT: I just noticed you meant within the editor ... sigh ... must go to bed and start again in the morning, :\
#3
07/10/2002 (11:19 am)
and obj.delete wont remove it from the mission group.
:(

this would be a nice feature..