Senior Member
Volunteer Data File Contributor
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729
|
Couple of quick questions on Skill's within HL. Is their anyway to remove the incrementer from a skill. I assume no, but wanted to check as when playing with Conditions one can remove it with a special Helper Tag.
I would like to show an error (ie have skill or tab show in red) when any ranks are placed in a skill. Everything I tried so far just seems to do nothing. I can get the validation message to show that says you can't put ranks into the skill, but I can't get it to turn red. Is this possible for skill things? Just a quick answer is fine don't need the whole script just what tag or variable needs to be set. Thanks 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. |
#1 |
Senior Member
Lone Wolf Staff
Join Date: May 2005
Posts: 13,213
|
There is not a way to undo the incrementer, but on the skill, you can create an Eval Rule on the skill you've created to impose an error if the skill ranks aren't 0.
phase: validation, priority: 5000 Code:
validif (field[skRanks].value <> 0) |
#2 |
Senior Member
Volunteer Data File Contributor
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729
|
That got me really close but not exactly it. Then I remembered a script I had seen on the Klar armor thing which showed me how to error out the panel.
So finally the script looked like Code:
~Error if user put any ranks into this skill. validif (field[skRanks].value = 0) hero.panelvalid[skills] = 0 Thanks 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. |
#3 |
|
|