Determine purchase count of a given unit?
-
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?
-
@Michael-Hoover You can't limit it directly. There are 2 workarounds.
- You can limit the total number of units of the type available
- You could have the unit producible only at a specific facility with a limited production capacity