• Please note: In an effort to ensure that all of our users feel welcome on our forums, we’ve updated our forum rules. You can review the updated rules here: http://forums.wolflair.com/showthread.php?t=5528.

    If a fellow Community member is not following the forum rules, please report the post by clicking the Report button (the red yield sign on the left) located on every post. This will notify the moderators directly. If you have any questions about these new rules, please contact support@wolflair.com.

    - The Lone Wolf Development Team

Help with Configurable

insaneurge

Well-known member
I am trying to use a feat to allow for choices from a list through the configurable tab. However, I cannot seem to get it working. This is what I was trying and the error I am getting.

Code:
field[cfgMax1].value += #featcount[FrcTrain]*#abilitybonus1[aWIS]

I'm getting the following errors with my script.

Hero Lab was forced to stop compilation after the following errors were detected:

Syntax error in 'eval' script for Thing 'cfgFrcPwrs' (Eval Script '#1') on line 1
-> Error in right-side expression of assignment
 
There is no such thing as a "featcount" macro, and there is no "abilitybonus1" macro, so Hero Lab doesn't understand what you're trying to write.
 
My guess as to the rule you're trying to implement is that each time you select this feat, you get a number of choices equal to your wisdom bonus, with a minimum of +1 choice even if you have a low wisdom.

For that, on the feat itself, use this script:

Code:
hero.childfound[The Configurable's Id].field[cfgMax1].value += #attrbonus1[aWIS]
 
Thank you Mathias! I was trying to create a script which would assign 1 + attribute bonus (minimum of 1 total).

One other question, how do I restrict the choices on the configurable. Previously it showed just the choices I assigned to it but now it has a massive list of choices?
 
Last edited:
In the "Custom Abilities" section, what have you put in any of the following settings:

Allow Custom Abilities
Primary Candidate Expression
 
In the "Custom Abilities" section, what have you put in any of the following settings:

Allow Custom Abilities
Primary Candidate Expression

Under allow custom abilities I have checked on my custom ability designated force powers.

for Primary Candidate Expression I have AllowRCust.cfgFrcPwrs!
 
Is cfgFrcPwrs the Id of your configurable? And this is a candidate expression on that configurable?

If so, leave that blank - you're re-entering the default text (actually, the default is more complex, in order to have handling available for some special cases). If not, select your configurable in "Allow Custom Abilities", and Hero Lab will build the expression for you.
 
Back
Top