• 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

Skill Things....

ShadowChemosh

Well-known member
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
 
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)
 
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
 
Back
Top