Game Development Community

dump of all mission objects

by Larry Jones · in Torque Game Engine · 01/21/2010 (12:35 pm) · 1 replies

Is there a script command or console method that will
list the location, rotation and scale of all static
objects loaded in a mission?

#1
01/21/2010 (8:40 pm)
Nope. I think your best bet is to iterate through the MissionGroup (which is basically where everything you create in a mission goes), and don't forget all its sub-groups, and check for static shapes to get their positions and rotations.

Alternatively, if this isn't something you have to do quickly or in-game, you can just browse through the .mis file to find everything.