Moon Wizard
June 11th, 2008, 23:46
I'm making some modifications to my own monster library module, which includes a database list of monster abilities. This question concerns dragging a module NPC to the Personalities tab, in order to create a customized version.
I was not able to get the Personalities window to accept the data node list based on an acceptdrop tag with the abilities list name in a field tag, so I built a custom onDrop handler. However, when I attempt to do a getValue() on a formattedtext field, I get a nil value.
Is there any way to have the default onDrop handler automatically handle a drop of a database node more than one level deep? Or is there a way to get the value of a formattedtext field?
Thanks,
JPG
I was not able to get the Personalities window to accept the data node list based on an acceptdrop tag with the abilities list name in a field tag, so I built a custom onDrop handler. However, when I attempt to do a getValue() on a formattedtext field, I get a nil value.
Is there any way to have the default onDrop handler automatically handle a drop of a database node more than one level deep? Or is there a way to get the value of a formattedtext field?
Thanks,
JPG