View Single Post
ShadowChemosh
Senior Member
Volunteer Data File Contributor
 
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729

Old July 10th, 2010, 12:10 PM
Here is the fix for the line in trouble.
Code:
elseif (hero.childfound[pcnFatigue].field[pIsOn].value + hero.childfound[pcnExhaust].field[pIsOn].value <> 0) then
result = assign[Helper.SpcDisable]
done
endif
The fatigue and Exhausted are not tags they are actually Things with scripts attached to them. You can find them under the "Adjustment" tab in the editor. So what I did was check to see if A) they where found on the hero and B) to see if their was a check mark placed next to the ability or not.

Otherwise you where really close to having it...

Hope that helps.

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   #2 Reply With Quote