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
jbearwillis
Senior Member
 
Join Date: Dec 2009
Location: Independence, Mo
Posts: 797

Old May 17th, 2012, 09:27 AM
I have regions in my world that can be picked. what I need is a Expr-reqs to only allow races that come from that area to pick that region. I need to be able to allow several races to use the same region. I was able to get one race but when I try to add more races then one it blocks out all race.
Please, any help is most appreciated.
jbearwillis is offline   #1 Reply With Quote
Matt Droz
Senior Member
 
Join Date: Apr 2010
Posts: 152

Old May 17th, 2012, 10:53 AM
I used Factions to do this.

Although, for pre-reqs, you may have to use the Pre-reqs expressions instead and build it off If ... then statements to get multiple races allowed.
Matt Droz is offline   #2 Reply With Quote
ShadowChemosh
Senior Member
Volunteer Data File Contributor
 
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729

Old May 17th, 2012, 12:56 PM
Here is example of a expression that checks for multiple races being allowed:

Code:
#hasrace[rVOldRed] + #hasrace[rAnciRed] + #hasrace[rWyrmRed] + #hasrace[rGWyrRed] <> 0
So what happens is each macro gives an answer of 1 or 0 and then adds them together to compare to zero. So the above is also saying it as OR statement as if any of those races are found the statement will say evaluate to TRUE.

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   #3 Reply With Quote
jbearwillis
Senior Member
 
Join Date: Dec 2009
Location: Independence, Mo
Posts: 797

Old May 17th, 2012, 01:01 PM
Thanks for the help I see where I went wrong. Forgot the plus sign - the learning curve for the program is a pain Sometimes, when you've never done a lot of work in it. Thanks again for the help.
jbearwillis is offline   #4 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:36 PM.


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