Game Development Community

Dynamic Fields in World Editor

by Nick Matthews · in Torque Game Engine · 12/08/2005 (3:59 am) · 0 replies

Hi,

I want to be able to get all the dynamic fields from an object, like F11(The World Editor) does.

How can i use code to get all the dynamic fields?
Im editing a persistence thing for a game called Blockland, and at the moment i have 50 if statements to find out if the object has a dynamic field, if it does, write dynamicfield = field; to a file.

I want it to check dynamically. How can i do this?
I looked at getting dynamic fields from scriptobjects, but it didnt really help

Thanks very much.