Navigation

    TripleA Logo

    TripleA Forum

    • Register
    • Login
    • Search
    • TripleA Website
    • Categories
    • Recent
    • Popular
    • Users
    • Groups
    • Tags

    Question to help my understanding of conditionAttachments (rulesAttachments)

    Maps & Mods
    2
    2
    468
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • SlendyMcTendies
      SlendyMcTendies last edited by

      Take this block of code for example:

      <attachment name="conditionAttachment_Germans_TotalSurrender" attachTo="Germans" javaClass="games.strategy.triplea.attachments.RulesAttachment" type="player">
      	<option name="relationship" value="Germans:Russians:X"/>
      	<option name="relationship" value="Germans:Japanese:X"/>
      	<option name="relationship" value="Germans:Americans:X"/>
      	<option name="relationship" value="Germans:Chinese:X"/>
      	<option name="relationship" value="Germans:British:X"/>
      	<option name="relationship" value="Germans:Italians:X"/>
      	<option name="relationship" value="Germans:French:X"/>
      </attachment>
      

      In order for this condition to be "True", do ALL of these relationships need to be satisfied, or does only ONE need to be satisfied?

      (A simple "All" or "One" will suffice, unless neither are correct)

      W 1 Reply Last reply Reply Quote 0
      • W
        wc_sumpton @SlendyMcTendies last edited by

        @slendymctendies

        All

        Cheers...

        1 Reply Last reply Reply Quote 1
        • 1 / 1
        • First post
          Last post
        Copyright © 2016-2018 TripleA-Devs | Powered by NodeBB Forums