TripleA Logo TripleA Forum
    • TripleA Website
    • Categories
    • Recent
    • Popular
    • Users
    • Groups
    • Tags
    • Register
    • Login

    non-combat unit - Resolved -

    Scheduled Pinned Locked Moved XML Options Browser
    5 Posts 3 Posters 1.8k Views 3 Watching
    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.
    • MahksM Offline
      Mahks
      last edited by Mahks

      There are references to "non-combat unit"

      Is that just zero value attack/defence?

      or is there some other thing that causes a unit to be classed as non-combat?

      redrumR General_ZodG 2 Replies Last reply Reply Quote 0
      • redrumR Offline
        redrum Admin @Mahks
        last edited by

        @mahks That appears to just mean the same as "isInfrastructure" and should probably replace it with that.

        TripleA Developer with a Passion for AI: https://forums.triplea-game.org/topic/105/ai-development-discussion-and-feedback

        1 Reply Last reply Reply Quote 0
        • General_ZodG Offline
          General_Zod Moderators @Mahks
          last edited by General_Zod

          @mahks

          I suppose transports can be non combat units too. If options set accordingly any unit can be a non combat unit actually.

          I think if attack is set to 0, it gives a message that this unit will die if you commit it to battle.

          Oh and a note on attacking isInfrastructure units, they can die (or be captured?) if the attack they are with fails. Example would be an air transport that has an isInfrastructure= true.

          1 Reply Last reply Reply Quote 0
          • MahksM Offline
            Mahks
            last edited by

            destroyedWhenCapturedBy Comment: is a list of the players who destroy this non-combat unit instead of capturing it. all non-combat units are normally captured by default...

            On Entering Units Destroyed Instead Of Captured Comment: Does not affect non-combat units...

            In above cases non-combat =isInfrastructure ?

            General_ZodG 1 Reply Last reply Reply Quote 0
            • General_ZodG Offline
              General_Zod Moderators @Mahks
              last edited by

              @mahks

              Correct.

              @mahks said in non-combat unit:

              destroyedWhenCapturedBy Comment: is a list of the players who destroy this non-combat unit instead of capturing it. all non-combat units are normally captured by default...

              On Entering Units Destroyed Instead Of Captured Comment: Does not affect non-combat units...

              In above cases non-combat =isInfrastructure ?

              1 Reply Last reply Reply Quote 0

              Hello! It looks like you're interested in this conversation, but you don't have an account yet.

              Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

              With your input, this post could be even better 💗

              Register Login
              • 1 / 1
              • First post
                Last post
              Copyright © 2016-2018 TripleA-Devs | Powered by NodeBB Forums