Game Development Community

Creating grouped objects

by Erik Madison · in Torque Game Engine · 08/25/2003 (6:28 am) · 1 replies

Is it possible for an editor (internal) object to be multiple objects?
ie, say I have a flag and an objective trigger. I would want to merely click one item in the editor, and have both the above created, pregrouped.
I'm thinking I would use a seperate object and call its create function, say Flagobjective::create. This function returns %obj though, and I would be creating multiple items here so I couldn't exactly return multiple %obj.