FieldDictionary and dynamic fields...
by David Massey · in Torque Game Engine · 11/28/2002 (9:25 pm) · 0 replies
Heya... I'm trying to access the dynamic fields of an item created in scripts (in particular, a weapon). I read the post on usage of (object)->getFieldDictionary()->getFieldValue("slotName")... Tried that and Torque barfed up a gpf error.. Traced around a bit.. used (object)->getDataField("slotName",NULL)... didnt get a crash.. but didnt get any info either.. traced around.. found out that the mFieldDictionary was NULL...
So.. the question is.. Why is the fielddictionary not being created? (consider that I'm testing the object created by rifle.cs in the fps mod.. as it produces these results...)
Any input would be greatly appriciated :)
laterz...
So.. the question is.. Why is the fielddictionary not being created? (consider that I'm testing the object created by rifle.cs in the fps mod.. as it produces these results...)
Any input would be greatly appriciated :)
laterz...