• 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

Need Help on a Expr-reqs

jbearwillis

Well-known member
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.
 
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.
 
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.
 
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.
 
Back
Top