Senior Member
Volunteer Data File Contributor
Join Date: May 2010
Location: Mountlake Terrace, Washington
Posts: 407
|
Thanks. I thought that it would only add if selected.
|
#11 |
Senior Member
Volunteer Data File Contributor
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729
|
Because its bootstrapped to the Mechanic it becomes "live" right away on the hero. And by "live" I mean the script actually runs/executes right away and it says add 1 to languages. So it adds one.
The selection logic is stored in the fcCount field. Each time this "Pick" is selected from the drop down fcCount will get incremented by 1. The count value is then stored in the abValue work field and then added to the languages field. This way you are only incrementing languages by the number of times selected. If we are never selected then fcCount will be zero and the script will add "0" to the languages. Hopefully that helps explain what is happening in the background... Hero Lab Resources: Pathfinder - d20pfsrd and Pathfinder Pack Setup 3.5 D&D (d20) - Community Server Setup 5E D&D - Community Server Setup Hero Lab Help - Hero Lab FAQ, Editor Tutorials and Videos, Editor & Scripting Resources. Created by the community for the community - Realm Works kickstarter backer (Alpha Wolf) and Beta tester.- d20 HL package volunteer editor. Last edited by ShadowChemosh; December 17th, 2013 at 01:15 PM. |
#12 |
Senior Member
Volunteer Data File Contributor
Join Date: May 2010
Location: Mountlake Terrace, Washington
Posts: 407
|
That makes sense.
I'm running into another problem now. I've got it showing up and doing the addition correctly but it shows up twice in the drop down menu. Why would it do that? |
#13 |
Senior Member
Volunteer Data File Contributor
Join Date: May 2010
Location: Mountlake Terrace, Washington
Posts: 407
|
Looks like I Didn't have it set as Unique. Problem solved.
|
#14 |
|
|