Navigation

    TripleA Logo

    TripleA Forum

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

    Trigger Question

    Map Making
    6
    26
    2204
    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.
    • Hepps
      Hepps Moderators @beelee last edited by

      @beelee Perhaps you were too 9d278d7a-93b8-42a0-b06f-aafe442fcfff-image.png

      B 1 Reply Last reply Reply Quote 3
      • B
        beelee @Hepps last edited by

        @Hepps
        heh heh Too much performance enhancer can have the opposite effect 😆

        1 Reply Last reply Reply Quote 3
        • B
          beelee last edited by beelee

          Have another one. These two triggers are the same, except for when "when" fires. Is that enough to make them nut up ? Should they have different names ?

          <attachment name="triggerAttachment_Fleet_Can_Turn_Free_Destroyer_Remove" attachTo="Neutral_True" javaClass="games.strategy.triplea.attachments.TriggerAttachment" type="player">
          <option name="conditions" value="conditionAttachment_False"/>
          <option name="removeUnits" value="93 Sea Zone:destroyer"/>
          <option name="when" value="before:americansPlace"/>
          </attachment>

          <attachment name="triggerAttachment_Fleet_Can_Turn_Free_Destroyer_Remove" attachTo="Neutral_True" javaClass="games.strategy.triplea.attachments.TriggerAttachment" type="player">
          <option name="conditions" value="conditionAttachment_False"/>
          <option name="removeUnits" value="93 Sea Zone:destroyer"/>
          <option name="when" value="before:britishPlace"/>
          </attachment>

          B 1 Reply Last reply Reply Quote 0
          • B
            beelee @beelee last edited by beelee

            @beelee

            well went ahead and renamed them. It didn't fix my issue though. The reason i originally asked, was I had gone through 4 players and they all worked and the 5th one started nuttin up.

            Edit
            I guess I just needed to struggle for a couple more hours lol. The 5th Player is unique and doesn't have a "Place" phase. It has "EndTurn" instead. About fried my poor little brain 🙂

            Oh well, hopefully the next 48 hours will be more productive heh heh

            1 Reply Last reply Reply Quote 0
            • N
              Numetalfan last edited by

              Hi

              I got a question to the trigger coding 'when'

              How to determine a trigger to start excatly in a defined round, e.g. round 2

              So would something like

              ...
              <option name="when" value="before:germanCombatMove:round 2"/>
              ...

              Is it possible? If, what is the correct syntax?
              If not what else?

              B 1 Reply Last reply Reply Quote 0
              • B
                beelee @Numetalfan last edited by

                @Numetalfan add another condition to your trigger. Something like:

                <attachment name="conditionAttachmentTurn2OrHigher" attachTo="Germans" javaClass="games.strategy.triplea.attachments.RulesAttachment" type="player">
                <option name="rounds" value="2-+"/>
                </attachment>

                I think the -+ makes it fire after round 2 as well. i can't remember

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