Navigation

    TripleA Logo

    TripleA Forum

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

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

    Map Making
    2
    3
    166
    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.
    • TorpedoA
      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.

      TheDog 1 Reply Last reply Reply Quote 0
      • TheDog
        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.

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

          Thanks alot. I will try.

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