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

    captureUnitOnEnteringBy - Resolved -

    Scheduled Pinned Locked Moved XML Options Browser
    4 Posts 2 Posters 1.3k Views 2 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

      Does not explicitly say this, assume :

      • Requires changeUnitOwners territoryAttachment
      • Requires canBeGivenByTerritoryTo unitAttachment
      • Requires 'Give Units By Territory' global property
      General_ZodG 3 Replies Last reply Reply Quote 0
      • General_ZodG Offline
        General_Zod Moderators @Mahks
        last edited by

        @mahks

        That would be incorrect. These are separate behaviors.

        captureUnitOnEnteringBy . The conditions listed below are needed for this to function. This is for taking control of non-infrastructure enemy units.

         <!-- allows a player to let its units be captured by another player if true, when the territory is captured. units must have canBeCapturedOnEnteringBy and territories must have captureUnitOnEnteringBy and the players must have the player attachment captureUnitOnEnteringBy -->
            <property name="Capture Units On Entering Territory" value="false" editable="false">
              <boolean/>
            </property>
        
        1 Reply Last reply Reply Quote 0
        • General_ZodG Offline
          General_Zod Moderators @Mahks
          last edited by

          @mahks

          To give units to an ally the below is needed.

          <!-- allows a player to give units to another player if true. units must have canBeGivenByTerritory and territories must have changeUnitOwners and the players must have the player attachment giveUnitControl -->
              <property name="Give Units By Territory" value="true" editable="false">
                <boolean/>
              </property>
          
          1 Reply Last reply Reply Quote 0
          • General_ZodG Offline
            General_Zod Moderators @Mahks
            last edited by

            @mahks

            But some options can be manipulated in atypical ways. People seem to always figure out new ways upon experimentation.

            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