• 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

Additional Starting Hindrances for specific race

Gumbytie

Well-known member
Been adapting some of the stuff from Mythos setting for a SWADE version of the game. The race demigod essentially will start with 2 extra points of Hindrances that the GM will pick. Either one extra Major or two more Minor. I am assuming my code doesn't work because this is under SWADE perhaps. I have tried two different scripts on the Racial Property and neither seem to add the additional 2 points. I don't get any errors, just no extra points and the Validation warning that I have picked too many Hindrances.

Script One:
Pre-Traits/5000
hero.child[resHinder].field[resMax].value += 2

Script Two:
Setup/5000
#resmax[resHinder] += 2

I am pretty sure I did this in a Deluxe file and it worked so that is why I am leaning towards SWADE issue. And I am pretty sure Common Code Examples has one of the above listed as well.

Any suggestions?
 
Thanks Caped, herofield[acMaxHindP].value += 2 works perfectly.

But another related question now, this does track the new total allowed correctly, and if you pick too many, you get the proper Validation warning. But, even after you spend the proper amount of Disadvantages, the Validator still says "Hindrance Points: Resource unspent." So everything works just the Validation doesn't clear out after you spent the correct amount. Again, it will warn you with new warning if you spend too much. So is there another place I can drop a script to clear the Validation after the new points (in this case 6) have been spent?

Hope this makes sense. It is early morning for me and still on first cup of coffee.
 
Back
Top