Game Development Community

Disabling console dump of objects upon F11 hit

by Nmuta Jones · in Torque Game Engine · 11/14/2008 (9:19 am) · 1 replies

When I hit F11, the engine seems to be doing a dump() of all objects in the engine.

Obj: AudioDefault3d -
Obj: AudioClose3d -
Obj: AudioClosest3d -
Obj: AudioDefaultLooping3d -
Obj: AudioCloseLooping3d -
Obj: AudioClosestLooping3d -

etc.
The list is quite extensive....and it populates my console.log with way too many lines of data I don't need every time I hit F11.

How do I disable this?
I am using AFX so I'm not sure if this only happens in AFX or not.

#1
11/18/2008 (8:41 am)
That's stock Torque behavior - it's a simple echo statement in editorGui.cs. Somewhere around line#1244 (I've modified my editor so you may have to look for it) you'll find this echo command:
echo ("Obj: " @ %obj.getName() @ " - " @ %obj.category );
Simply remove it or comment it.

EDIT: in stock TGE it will be line# 1232.