• 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

Hide Zero Ability Score Warnings

Fenris447

Well-known member
I'm working on getting vehicles like the Ghosts of Saltmarsh ships set up. They all have Intelligence, Wisdom, and Charisma of zero. Hero Lab outputs warnings for each, saying that a "value less than or equal to zero may mean you are dead or unable to act."

Any idea how to hide this warning?
 
Just giving this a little bump. I never solved it, and it’s coming up again in more stuff I’m working on. What I really need to do is to either disable or automatically validate the eval rule that is running on a particular ability (aINT, aWIS, aCHA) that checks if it's at or below 0.

The other thing I'll explore is setting the score to 1, then subtracting 1 from it after that eval script runs. It's dirty, but it might be dirty enough to work. But I'd still like to know if one Thing can affect another Thing's eval script.
 
Last edited:
So my dirty solution works, or at least works enough. I set the ability scores to 1 (-9 in the race tab of the editor). I determined the validation for zero scores runs at Validation phase 10000. Because the scores are 1, that validation error doesn't report. Then I added an eval script at Validation phase 11000:
Code:
hero.childfound[aINT].field[aFinalVal].value -= 1

Replace aINT with whatever score you want reduced to zero.

Fortunately, both 1 and 0 ability scores grant a -5 bonus to skills and such that use those scores. But I'm sure there might be edge cases where it being 1 (instead of 0) will break something. But at least with all the vehicles and objects I'll be using this for, it doesn't hurt anything.
 
Back
Top