Troubles with TGB's "cloneWithBehaviors()" func
by Daniel Hopkins · in Torque Game Engine · 06/17/2008 (10:32 pm) · 2 replies
Howdy:)
Whenever I call "[t2dSprite].cloneWithBehaviors()" it generates this error message in the console:
///////////////////////////////////////////////////////////////////////////////////////////////
t2dSceneGraph::addToScene() - Object '1593' is already in a SceneGraph!.
t2dSceneContainer::removeSceneObject() - Object 'Always Scope' but not in Scope-List! (1593)
/////////////////////////////////////////////////////////////////////////////////////////////////
Generally, this wouldn't be to much of a problem, except that my game is very "cloning" intensive: after several minutes of play, the console gets pretty big (I played for 8 min or so and the console size ended up around 150 KB).
I took a look at the "Behavior Playground" demo, which uses the same function, and it generates the same errors.
Any help, suggestions, ideas, etc. would be greatly appreciated!
Thanks
Daniel
Whenever I call "[t2dSprite].cloneWithBehaviors()" it generates this error message in the console:
///////////////////////////////////////////////////////////////////////////////////////////////
t2dSceneGraph::addToScene() - Object '1593' is already in a SceneGraph!.
t2dSceneContainer::removeSceneObject() - Object 'Always Scope' but not in Scope-List! (1593)
/////////////////////////////////////////////////////////////////////////////////////////////////
Generally, this wouldn't be to much of a problem, except that my game is very "cloning" intensive: after several minutes of play, the console gets pretty big (I played for 8 min or so and the console size ended up around 150 KB).
I took a look at the "Behavior Playground" demo, which uses the same function, and it generates the same errors.
Any help, suggestions, ideas, etc. would be greatly appreciated!
Thanks
Daniel
#2
Thanks a bunch, though!!
06/18/2008 (10:27 pm)
Sorry about the post! I didn't see the TGB public forum.Thanks a bunch, though!!
Associate Tom Eastman (Eastbeast314)
Here you go.
Also, next time this sort of question should be posted in a TGB forum, which can be added to your forum subscriptions by going here.