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
ShadowChemosh
Senior Member
Volunteer Data File Contributor
 
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729

Old November 2nd, 2010, 09:24 AM
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.
ShadowChemosh is offline   #1 Reply With Quote
Mathias
Senior Member
Lone Wolf Staff
 
Join Date: May 2005
Posts: 13,213

Old November 2nd, 2010, 09:38 AM
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)
Mathias is online now   #2 Reply With Quote
ShadowChemosh
Senior Member
Volunteer Data File Contributor
 
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729

Old November 2nd, 2010, 09:08 PM
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
which finally let me turn the tab and skill a nice bright RED if any ranks are put into the skill.

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.
ShadowChemosh is offline   #3 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 08:47 AM.


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