Clean up question "endlevel()
by Stephen Triche · in Torque Game Builder · 06/29/2006 (11:59 am) · 1 replies
How comprehensive is endlevel()?
If I create a t2dStaticSprite in script and assign its scenegraph to the scenegraph of the current scene window (let's say it's called sceneWindow2d), will all of those objects be deleted if I call sceneWindow2d.endlevel(), or does endlevel() only destroy things defined in a level file created from the editor?
If my phrasing is too confusing, lemme know and I'll try to word it differently.
If I create a t2dStaticSprite in script and assign its scenegraph to the scenegraph of the current scene window (let's say it's called sceneWindow2d), will all of those objects be deleted if I call sceneWindow2d.endlevel(), or does endlevel() only destroy things defined in a level file created from the editor?
If my phrasing is too confusing, lemme know and I'll try to word it differently.
Torque 3D Owner Matthew Langley
Torque