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

    whenCapturedChangesInto - Resolved -

    Scheduled Pinned Locked Moved XML Options Browser
    3 Posts 3 Posters 1.2k 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

      whenCapturedChangesInto

      Mentions transferAttributes, does not explain what tributes are transferred.

      General_ZodG redrumR 2 Replies Last reply Reply Quote 0
      • General_ZodG Offline
        General_Zod Lobby Moderators @Mahks
        last edited by

        @mahks

        Good question.

        1 Reply Last reply Reply Quote 0
        • redrumR Offline
          redrum Admin @Mahks
          last edited by

          @mahks Here is POS2 XML:

          whenCapturedChangesInto		values: allows a unit to change into a different unit when captured from a specific player to a specific player.  "fromPlayer:toPlayer:transferAttributes:unitType:numberOfUnits".  accepts "any" instead of a player name. allows multiple.
          examples: <option name="whenCapturedChangesInto" value="any:any:true:Minor_Factory:1"/> and <option name="whenCapturedChangesInto" value="Russians:Germans:false:gold:3:lumber:1"/>
          

          Currently, transferAttributes only transfers hit point and bombing damage from old to new unit.

          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

          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