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

    Trigger to place Bunkers on every territory currently owned? (for AI)

    Scheduled Pinned Locked Moved Map Making
    3 Posts 2 Posters 437 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.
    • TorpedoAT Offline
      TorpedoA
      last edited by

      The AI will place Bunkers indeed, but only if i purchase it by trigger. But then, the AI will place them in territories with a factory only. Not bad at all but.....
      Could someone think about a workaround to help the AI build Bunkers regularely everywhere, by itself or by trigger?

      For now i have only 2 possible ways i can think of.

      1. I could try to make a trigger to let the AI place Bunkers regularely in every territory the AI currently owns.
        Question: Is this possible?

      2. As the AI will only place Bunkers, if i purchased them by trigger, to territories with factories, i could make a fake-factory for every territory, which could in theory lead to the placement of Bunkers by the AI everwhere.
        Those fake-factories would only serve to get the AI to build Bunkers there, while theyself cannot produce units.
        Is that possible?

      Thanks for any thoughts.

      TheDogT 1 Reply Last reply Reply Quote 0
      • TheDogT Online
        TheDog @TorpedoA
        last edited by

        @TorpedoA
        #2 works
        You will have to use
        <option name="requiresUnits" value="Factory"/>
        where Factory is the proper factory and not the one in every territory(fake-factory)

        The requiresUnits line should be in every land units unitAttachment paragraph code block that is NOT going to be a Bunker.

        https://forums.triplea-game.org/tags/thedog
        https://forums.triplea-game.org/topic/3741/curated-best-top-maps-triplea-guides

        1 Reply Last reply Reply Quote 0
        • TorpedoAT Offline
          TorpedoA
          last edited by

          Thanks alot. I will try.

          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