PDA

View Full Version : From Sheet to CT



earthworm3
March 11th, 2016, 17:34
Hello, i want to know if it's possible to link a value from a sheet to the combat tracker.

Thanks

Zacchaeus
March 11th, 2016, 17:53
Hello, i want to know if it's possible to link a value from a sheet to the combat tracker.

Thanks

I want to say no, but I'm not terribly sure what you mean. Can you expand on your question with an example of what you want to do?

Moon Wizard
March 11th, 2016, 18:08
Yes.

The fields with a small chain icon in the lower right corner of the CT in the D&D rulesets (5E/4E/3.5E/PFRPG) are fields that are linked with a PC sheet. (They only appear when adding a PC is added to the tracker.)

Basically, the CT checks the entries when the window is initialized, and each "linked field" registers to listen for onUpdate events from those database nodes in the PC sheet.

Regards,
JPG

earthworm3
March 11th, 2016, 18:27
Thank you.

It's for create a custom heal group box.

Do you know where is the code ?

Moon Wizard
March 11th, 2016, 19:15
There's a "number_ct_crosslink" template in the CoreRPG ruleset (ct/template_ct.xml). It's only used for a single field in the CoreRPG ruleset, but used for many fields in the 3.5E ruleset.

Regards,
JPG

earthworm3
March 11th, 2016, 20:20
Thanks for your help

damned
March 12th, 2016, 00:12
Use in MoreCore extension for CoreRPG too...