Game Development Community

Dynamic Fields in World Editor Inspector

by MMPlus (Greg) · in Technical Issues · 10/27/2008 (8:56 am) · 0 replies

I'm confused about adding dynamic fields to an object I'm creating using datablocks. I had wanted to be able to define a dynamic field in a datablock, but the customize its value for the items I instantiate in my mission. However, my custom dynamic fields aren't available to me in the editor and I need to hit that "add" button and type the field name again and set its value. I'm confused because of a seemingly contradictory line from the document I found here:

http://tdn.garagegames.com/wiki/TorqueScript/Objects

which says "dynamic_fieldN- Lastly, you may create new fields (which will exist only in Script) for your new object. These will show up as dynamic fields in the World Editor Inspector."

So, which is it? Do they exist only in script, or are they supposed to show up under Dynamic Fields in the Editor? I assume the former, since for me, they aren't showing up.