Senior Member
|
I have a checkbox
<field id="chkProf" name="Proficient in skill" type="user" defvalue="0"> </field> I want to set this to a one when the user choose a specific background (D&D 5th Edition) But I keep getting the message that it can't be modified via script. I know I've worked around this before, but I'm at a complete loss. BoomerEt Castles & Crusades Ruleset for Hero Lab Hero Lab (5E D&D) -> Fantasy Grounds Character Converter |
#1 |
Senior Member
|
Maybe I'll do something besides a checkbox. Let user select it from another tab, and populate my skills tab.
Sorry to bother. Castles & Crusades Ruleset for Hero Lab Hero Lab (5E D&D) -> Fantasy Grounds Character Converter |
#2 |
Senior Member
|
Got a workable solution, not using checkboxes.
Castles & Crusades Ruleset for Hero Lab Hero Lab (5E D&D) -> Fantasy Grounds Character Converter |
#3 |
Junior Member
Join Date: Aug 2013
Posts: 14
|
I did this a little differently.
In the template (in the tab_basics file), I have: <portal id="held" style="chkNormal"> <checkbox field="sklHeld"/> </portal> This points to an update I made in traits.str under Skills: <!-- Field to support player selection of a skill as "held" --> <field id="sklHeld" name="Skill Held" type="user" maxlength="0" defvalue="0"> </field> Does that help at all? PG |
#4 |
Senior Member
|
Thanks KF, but with recent announcements about 5E possibly coming officially to HL, I've stopped work on it.
BoomerET Castles & Crusades Ruleset for Hero Lab Hero Lab (5E D&D) -> Fantasy Grounds Character Converter |
#5 |
|
|