Navigation

    TripleA Logo

    TripleA Forum

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

    How to make a naval unit that can produce units?

    Map Making
    3
    5
    738
    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.
    • CrazyG
      CrazyG Moderators last edited by

      Title pretty much says it all.

      I want a type of ship to be able to place a single unit in sea zones. Initial testing found it doesn't work. From a long time ago, I think it works if you give all the sea zones owners. Anyone know of other methods?

      redrum 1 Reply Last reply Reply Quote 0
      • redrum
        redrum Admin @CrazyG last edited by

        @CrazyG I believe the unit generation requires the territory to be owned. So I think you'd have to use SZ ownership as it works today.

        CrazyG 1 Reply Last reply Reply Quote 0
        • CrazyG
          CrazyG Moderators @redrum last edited by

          @redrum
          I have a concern about this. England and France are allied.

          A french ship moves into a territory, so its french owned. On England's turn, it moves its ships to that sea zone and tries to place a unit, but it won't work because its french owned.

          I'm trying to make sea mines.

          1 Reply Last reply Reply Quote 0
          • CrazyG
            CrazyG Moderators last edited by

            Also, unless I give sea zones incomes, you cannot easily track who owns what sea zones. I would like people who move their ships in NCM to still be able to place mines.

            Hepps 1 Reply Last reply Reply Quote 0
            • Hepps
              Hepps Moderators @CrazyG last edited by Hepps

              @CrazyG You could make a trigger for the ship that has the ability to make mines then have those ships automatically produce 1 invisible unit at the end of the NCM turn phase. Then you could make the purchasable mine unit consume the invisible unit. Then simply have all the (unused) invisible units removed from the map at the end of the current players turn.

              I think you could even deal with the invisible unit generation be handled by the unit attachment of "canProduceXUnits" instead of a trigger.

              But this is all just a suggestion. I have not tested any of this. So I am not sure what complications might arise.

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