-
August 1st, 2021, 06:54 #11
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.
Dominic Morta
Ruleset Developer
Smiteworks
How to zip up your campaign if the Developers ask for it-How to zip up your campaign if the Developers ask for it
How to provide an Unity Connection issue?-Connection Issues and What to Provide
Unity Updater issue?-Updater Issues
Classic and Unity Port Forwarding?-Fantasy Grounds Connections Explained
Comcast or Cox ISP User?-Comcast XFinity and Cox Users
Have a suggestion?-Feature Request
-
August 1st, 2021, 19:49 #12
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.
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.
example.PNGLast edited by GEONE; August 1st, 2021 at 20:00.
-
August 1st, 2021, 20:05 #13
You could have it build the name last and have the right anchor parent be that last control
Dominic Morta
Ruleset Developer
Smiteworks
How to zip up your campaign if the Developers ask for it-How to zip up your campaign if the Developers ask for it
How to provide an Unity Connection issue?-Connection Issues and What to Provide
Unity Updater issue?-Updater Issues
Classic and Unity Port Forwarding?-Fantasy Grounds Connections Explained
Comcast or Cox ISP User?-Comcast XFinity and Cox Users
Have a suggestion?-Feature Request
-
August 1st, 2021, 21:14 #14
I'm still not entirely sure how I'd go about that, could you give a code example?
-
August 1st, 2021, 22:27 #15
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 rightanchorDominic Morta
Ruleset Developer
Smiteworks
How to zip up your campaign if the Developers ask for it-How to zip up your campaign if the Developers ask for it
How to provide an Unity Connection issue?-Connection Issues and What to Provide
Unity Updater issue?-Updater Issues
Classic and Unity Port Forwarding?-Fantasy Grounds Connections Explained
Comcast or Cox ISP User?-Comcast XFinity and Cox Users
Have a suggestion?-Feature Request
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks