Lone Wolf Development Forums  

Go Back   Lone Wolf Development Forums > Hero Lab Forums > HL - Authoring Kit
Register FAQ Community Today's Posts Search

Notices

Reply
 
Thread Tools Display Modes
BoomerET
Senior Member
 
Join Date: Apr 2012
Location: Livermore, CA
Posts: 492
Send a message via ICQ to BoomerET Send a message via Yahoo to BoomerET Send a message via Skype™ to BoomerET

Old December 6th, 2014, 01:33 PM
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
BoomerET is offline   #1 Reply With Quote
BoomerET
Senior Member
 
Join Date: Apr 2012
Location: Livermore, CA
Posts: 492
Send a message via ICQ to BoomerET Send a message via Yahoo to BoomerET Send a message via Skype™ to BoomerET

Old December 6th, 2014, 01:36 PM
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
BoomerET is offline   #2 Reply With Quote
BoomerET
Senior Member
 
Join Date: Apr 2012
Location: Livermore, CA
Posts: 492
Send a message via ICQ to BoomerET Send a message via Yahoo to BoomerET Send a message via Skype™ to BoomerET

Old December 6th, 2014, 02:08 PM
Got a workable solution, not using checkboxes.

Castles & Crusades Ruleset for Hero Lab
Hero Lab (5E D&D) -> Fantasy Grounds Character Converter
BoomerET is offline   #3 Reply With Quote
KingFrog
Junior Member
 
Join Date: Aug 2013
Posts: 14

Old January 8th, 2015, 04:57 PM
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
KingFrog is offline   #4 Reply With Quote
BoomerET
Senior Member
 
Join Date: Apr 2012
Location: Livermore, CA
Posts: 492
Send a message via ICQ to BoomerET Send a message via Yahoo to BoomerET Send a message via Skype™ to BoomerET

Old January 8th, 2015, 09:46 PM
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
BoomerET is offline   #5 Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -8. The time now is 03:40 AM.


Powered by vBulletin® - Copyright ©2000 - 2024, vBulletin Solutions, Inc.
wolflair.com copyright ©1998-2016 Lone Wolf Development, Inc. View our Privacy Policy here.