PneumaPilot
November 29th, 2008, 06:19
In my current NPC sheet for the nWoD ruleset, I store health information in a windowlist (maybe that wasn't the best idea, but it works and it's what I've got). Now, I want the combat tracker to inherit this data from the NPC sheet when the NPC is dragged to the sheet. I don't want it linked, because there may be multiple copies of the same type of NPC/monster.
How do I reference this information then when it is an element in the windowlist? I would think it would look something like this:
newentry.health1.setValue(source.getChild("healthlist[1].health1").getValue());
That's not really working for me though. Any ideas?
How do I reference this information then when it is an element in the windowlist? I would think it would look something like this:
newentry.health1.setValue(source.getChild("healthlist[1].health1").getValue());
That's not really working for me though. Any ideas?