• 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

Containerreq and the OR command?

zarlor

Well-known member
I'm wondering if there is a way I can use an OR command, preferably ordered, in a containerreq expression.

As an example from the Deadlands: Reloaded file, if you select a ChiMastery skill such as Armor (Power), skDLAmor, for an example, the Containerrqexpression is:

Code:
hero#Arcane.ChiMastery & hero#Power.powArmor

Which say to only show this skill if the Arcane Background: Chi Mastery exists for this character AND he has the Arcane Power of Armor. What if I wanted those but I wanted to add in that I only wanted to show it if he had the Power of Armor OR he had the Power of xArmor. It seems to me it should look something like:

Code:
hero#Arcane.ChiMastery & (hero#Power.powArmor or hero#Power.powxArmor)

That doesn't seem to work, though. Is "or" even a correct thing to use there? I've also tried "OR" but overall I just can figure out what the syntax or correct operator for "or" should be and the Wiki doesn't seem to cover it either as far as I could tell.
 
Yep, that was it. It points out all the operators in that link above to the wiki. I have problems drilling down to find all of the syntax stuff for a while, for some reason.
 
Back
Top