Navigation

    TripleA Logo

    TripleA Forum

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

    Determine purchase count of a given unit?

    Map Making
    2
    2
    415
    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.
    • Michael Hoover
      Michael Hoover last edited by

      Been looking through the xml but I haven't seen anything that would give me a number of a given unit purchased in a player's purchase phase. For example, if the player were to buy 3 infantry, I'd like to be able to retrieve that count, like through a "purchasedCount" property or some such, but I'm not seeing anything like this...any ideas anyone?

      RogerCooper 1 Reply Last reply Reply Quote 0
      • RogerCooper
        RogerCooper @Michael Hoover last edited by

        @Michael-Hoover You can't limit it directly. There are 2 workarounds.

        1. You can limit the total number of units of the type available
        2. You could have the unit producible only at a specific facility with a limited production capacity
        1 Reply Last reply Reply Quote 0
        • 1 / 1
        • First post
          Last post
        Copyright © 2016-2018 TripleA-Devs | Powered by NodeBB Forums