If there is no chain link, then it's not being linked. May I ask why you have a merge="replace" for the testctvalue? I would try setting up a new template with the things you wish to change and then see if it links after that.
Printable View
If there is no chain link, then it's not being linked. May I ask why you have a merge="replace" for the testctvalue? I would try setting up a new template with the things you wish to change and then see if it links after that.
Ah I figured it out. I wasn't referencing the new ct_entry.lua script in the xml file(s). I didn't realize ct_entry.lua wasn't global, derp.
Thanks for your help everyone!Code:<windowclass name="ct_entry" merge="join">
<script file="ct/scripts/ct_entry.lua" />
</windowclass>
Now the next question is how do I go about shrinking the string_ctname field in the combat tracker? It's now overlapping with my new number box and I can't seem to find where its size (or ending anchor? It has unique behaviour when the ct is scaled) is defined anywhere in the files.
Attachment 48525
You could have it build the name last and have the right anchor parent be that last control
I'm still not entirely sure how I'd go about that, could you give a code example?
Searching CoreRPG I found this anchoring for a template that should help you get started
<anchored width="20" height="20">
<top offset="2" />
<right parent="rightanchor" anchor="left" relation="relative" offset="-5" />
</anchored>
The key take away is the right tag and how it sets the border to the right anchor and has a left offset of -5 off the rightanchor