Tielc
October 24th, 2018, 20:42
I have some questions about how nodes are used in the Combat Tracker. Do multiples of NPCs reference a single node and the HP and Wounds are not linked to them? Or are they each their own instance linked to an internal node?
Along with this, how to get the base node for a character or npc from the Combat Tracker? I'm updating my CurrentHP extension and I would like to include the ability to change the current HP. Currently I'm doing this by modifying the values in the text boxes. But is creating a recursive script warning. On the character sheet I've done this with DB.setValue and it seems to work without the recursive issue. So I would like to try the same thing in the CT, but I'm not sure how to get the actual character. Is this store / referenced in the rActor object?
Along with this, how to get the base node for a character or npc from the Combat Tracker? I'm updating my CurrentHP extension and I would like to include the ability to change the current HP. Currently I'm doing this by modifying the values in the text boxes. But is creating a recursive script warning. On the character sheet I've done this with DB.setValue and it seems to work without the recursive issue. So I would like to try the same thing in the CT, but I'm not sure how to get the actual character. Is this store / referenced in the rActor object?