PDA

View Full Version : Some "anchored" questions



morgurth
August 13th, 2013, 02:37
I've extracted the 4E ruleset (this is with the 3.0 Dev version of FG2) and renamed the folder "13thAge". I was just trying to rearrange the ability scores to horizontal instead of vertical (to match the 13th Age character sheet layout). I am, however getting these errors on all of them except for Strength.

Runtime Notice: Reloading ruleset
Ruleset Warning: Anchored control static height ignored for 'constitution'

The XML looks like this



<!-- Abilities -->
<frame_char name="abilityframe">
<bounds>15,45,300,150</bounds>
</frame_char>

<number_charabilityscore name="strength" source="abilities.strength.score">
<anchored to="abilityframe" position="insidetopleft" offset="15,25" />
<description text="Strength score" />
</number_charabilityscore>
<number_charabilityscore name="constitution" source="abilities.constitution.score">
<anchored to="strength" position="right" offset="10,0" />
<description text="Constitution score" />
</number_charabilityscore>


Now, if I instead anchor Constitution to the "abilityframe" instead and manually set the offset to "57,25", it works fine. Either way, it's in the correct position, but one gives me the warning.

Any ideas on what I'm doing wrong?

Moon Wizard
August 13th, 2013, 03:24
It's more a warning than an error. It just says that you have specified top and bottom anchors as well as a static height.
Try changing the constitution score position to righthigh, instead of right.

Cheers,
JPG

morgurth
August 13th, 2013, 03:39
Thanks, that works :) Slightly easier than referencing the insidetopleft for all of them.

Now to figure out the script to pull in the "basicnumber" for the character level to add to the bonuscheck.