Game Development Community

canSaveDynamicFields ? canSave ?

by Jeff Yaskus · in Torque 3D Beginner · 02/07/2011 (9:07 pm) · 1 replies

Can anyone explain the point of these fields in the Mission File entries ?

canSave = "1";
         canSaveDynamicFields = "1";




#1
02/08/2011 (4:19 am)
An object that has canSave=0 will be skipped completely when serialized, i.e. these objects will disappear when serializing an object graph they are part of.

An object that has canSaveDynamicFields=0 will not save out any of its dynamic fields, i.e. fields that are not statically created by the C++ class but rather added in scripts at runtime.