Game Development Community

UserData Template Field

by Phillip O'Shea · in Torque Game Builder · 10/07/2007 (6:52 pm) · 0 replies

Does anyone know what the "userData" field in the addBehaviorField function does?

I am interested in having a drop down menu rather than the user inputting text. In particular, selecting from a list of available image map datablocks that have already been loaded into the editor.

If I can't do this through regular script, I was thinking I'd try doing it through the source, but I cannot locate where the dataTypes are defined.

Any ideas?

About the author

Head of Violent Tulip, a small independent software development company working in Wollongong, Australia. Go to http://www.violent-tulip.com/ to see our latest offerings.