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
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