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

    unit is getting captured when i lose the battle, and i can't figure out why

    Scheduled Pinned Locked Moved Map Making
    14 Posts 4 Posters 1.8k Views 4 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.
    • B Offline
      beelee @ff03k64
      last edited by beelee

      @ff03k64 it's because it's isInfrastructure. Idk of a solution.

      I guess you could have them destroyed when captured. Or at least I think you can

      1 Reply Last reply Reply Quote 1
      • F Offline
        ff03k64
        last edited by

        Maybe i should describe what i am going for and see if there are suggestions for another way to do it. I want this unit to support units in the battle (negative support enemies in this particular case), but i don't want it to be able to be picked as a casualty.

        S 1 Reply Last reply Reply Quote 1
        • S Offline
          SilverBullet @ff03k64
          last edited by

          @ff03k64 what map? some maps give you an option for "destroy" or "capture" units.

          F 1 Reply Last reply Reply Quote 0
          • F Offline
            ff03k64 @SilverBullet
            last edited by

            @SilverBullet I am making a map

            S 1 Reply Last reply Reply Quote 1
            • S Offline
              SilverBullet @ff03k64
              last edited by

              @ff03k64 ahh, then another map maker needs to answer that, but the Napoleon map has that option.

              F 1 Reply Last reply Reply Quote 0
              • F Offline
                ff03k64 @SilverBullet
                last edited by

                @SilverBullet Do you know what unit has it?

                S 1 Reply Last reply Reply Quote 1
                • S Offline
                  SilverBullet @ff03k64
                  last edited by

                  @ff03k64 in Napoleon you can set the option to either destroy or capture "generals" or "encampments", so i dont think it is a unit thing but an option thing.

                  F 1 Reply Last reply Reply Quote 0
                  • F Offline
                    ff03k64 @SilverBullet
                    last edited by

                    @SilverBullet Okay, i will at least check those units out though. Thanks!

                    S 1 Reply Last reply Reply Quote 1
                    • S Offline
                      SilverBullet @ff03k64
                      last edited by

                      @ff03k64 good luck!

                      1 Reply Last reply Reply Quote 0
                      • F Offline
                        ff03k64
                        last edited by

                        Thanks you!

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

                          @ff03k64 yea I got a unit I don't want as a hitpoint either. I made it infrastructure like you have but it would get captured if a lost battle. It was a strategic bomber so the situation rarely occurred.

                          However, I'm noticing with 2.2 it's being offered as a hit point and I don't remember that with 13066. Unfortunately my OS is all jacked up and I can get 13066 to work anymore so I can't check to see if that is the actual case.

                          1 Reply Last reply Reply Quote 1
                          • wc_sumptonW Offline
                            wc_sumpton
                            last edited by wc_sumpton

                            @ff03k64

                            Check this property:

                            <!-- if true, units with destroyedWhenCapturedBy will be destroyed instead of captured. only applies to non-combat units, since combat units die in combat -->
                            <property name="Units Can Be Destroyed Instead Of Captured" value="true" editable="false">
                                  <boolean/>
                            </property>
                            

                            Cheers...

                            F 1 Reply Last reply Reply Quote 1
                            • F Offline
                              ff03k64 @wc_sumpton
                              last edited by

                              @wc_sumpton That was it, thanks!

                              1 Reply Last reply Reply Quote 1

                              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