Lone Wolf Development Forums  

Go Back   Lone Wolf Development Forums > Hero Lab Forums > HL - Pathfinder Roleplaying Game
Register FAQ Community Today's Posts Search

Notices

Reply
 
Thread Tools Display Modes
blzbob
Senior Member
Volunteer Data File Contributor
 
Join Date: May 2010
Location: Mountlake Terrace, Washington
Posts: 407

Old December 17th, 2013, 01:00 PM
Thanks. I thought that it would only add if selected.
blzbob is offline   #11 Reply With Quote
ShadowChemosh
Senior Member
Volunteer Data File Contributor
 
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729

Old December 17th, 2013, 01:09 PM
Quote:
Originally Posted by blzbob View Post
Thanks. I thought that it would only add if selected.
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.
ShadowChemosh is offline   #12 Reply With Quote
blzbob
Senior Member
Volunteer Data File Contributor
 
Join Date: May 2010
Location: Mountlake Terrace, Washington
Posts: 407

Old December 17th, 2013, 04:18 PM
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?
blzbob is offline   #13 Reply With Quote
blzbob
Senior Member
Volunteer Data File Contributor
 
Join Date: May 2010
Location: Mountlake Terrace, Washington
Posts: 407

Old December 17th, 2013, 08:07 PM
Looks like I Didn't have it set as Unique. Problem solved.
blzbob is offline   #14 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 06:25 AM.


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