Lone Wolf Development Forums  

Go Back   Lone Wolf Development Forums > Hero Lab Forums > HL - Pathfinder Roleplaying Game
Register FAQ Community Today's Posts Search

Notices

Reply
 
Thread Tools Display Modes
jkthomsen9
Senior Member
 
Join Date: Jun 2010
Location: Beaverton, OR
Posts: 267

Old July 27th, 2010, 07:49 PM
I can not seam to find the correct script to require the class feature favored enemy as an entry requirement for a prestige class. I am not sure how the resorses resEnemSel and resEnemUpg work and did not see them in the tutorial. I wouls like a script that required either (aberrations, animals, dragons, or magical beasts) be selected but will settle for have any selected, with a better understanding of resorces.

Thanks in advance,
James
jkthomsen9 is offline   #1 Reply With Quote
Mathias
Senior Member
Lone Wolf Staff
 
Join Date: May 2005
Posts: 13,217

Old July 27th, 2010, 08:01 PM
Specific requirements are easier than a general requirement in this case.

Create a ranger and add the aberrations, animals, dragons, and magical beasts enemies.

Now, in the Develop menu, make sure that "Enable data file debugging" is checked (it's the first item).

Go back to the Ranger panel, right click on each of those, and the bottom item will be "Copy unique Id (feAbber) to clipboard" - copy the Id.

Now, switch to the editor, and add the following to an exprreq:

Code:
 
#hasability[feAbber] <> 0
(pasting feAbber into there).

Do the same for all the other types, adding each one to the total:

Code:
 
#hasability[feAbber] + #hasability[feAnimal] + ... <> 0
(HasAbility = 1 if the ability is present on the hero, 0 otherwise, so if one or more of those favored enemies is present, the total will not equal 0).
Mathias is offline   #2 Reply With Quote
jkthomsen9
Senior Member
 
Join Date: Jun 2010
Location: Beaverton, OR
Posts: 267

Old July 27th, 2010, 08:39 PM
Mathias You rock!! Thank you and the debuging tip is sure to come in hand.

James
jkthomsen9 is offline   #3 Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -8. The time now is 05:22 AM.


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