Lone Wolf Development Forums

Lone Wolf Development Forums (http://forums.wolflair.com/index.php)
-   HL - Pathfinder Roleplaying Game (http://forums.wolflair.com/forumdisplay.php?f=62)
-   -   Scripting for disallowing feat selection (http://forums.wolflair.com/showthread.php?t=44933)

Asandir July 15th, 2013 07:24 PM

Scripting for disallowing feat selection
 
Anyone know of any feat that disallows you to take another. I've got a couple that specifically do not allow the character to take Acrobatic and Nimble moves.

A pointer in the right direction would be appreciated.

SeeleyOne July 15th, 2013 08:45 PM

I cannot think of any, but if you are asking so you know how to preclude them, it is under Pick-reqs, and then check the "Preclude Selection if Present?" box.

Mathias July 16th, 2013 07:18 AM

SeeleyOne, I recommend that you don't use pickreqs for anything but "can speak language X". When testing feats, you need to use the #hasfeat[] macro. Otherwise, if you were working on a skeleton, or some other case where the feats on the character had been disabled, a pickreq would still recognize them as being present, but the #hasfeat[] macro would properly recognize that the character didn't have that feat that's currently disabled.

Mathias July 16th, 2013 07:25 AM

I see two options:

1) make replacement copies of those two feats, and add new exprreqs to them.

2) add an exprreq to this feat that complains if you select those other feats. This is less ideal, because the acrobatic and nimble moves feats won't show up as gray if you have this feat, and the error will be reported on this feat you're adding. On the other hand, by putting the test for those other two feats on this feat that's in your user-added content, you avoid using replacements, meaning you don't have to worry that a user has chosen to install your content and some other content that replaces Acrobatic and Nmble Moves - if something is replaced twice, Hero Lab doesn't know which is correct, and reports a compile error and goes into safe mode, so that the user can delete one of the replacements.


All times are GMT -8. The time now is 11:33 PM.

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