Unit counting in Game Piece Inventory Window

GamePiece Inventory Window: This window shows all the units listed by type, one by one. The unit count must be done manually, type by type. Instead, I would like to create a list of the types of units with their number next to them.
For example:

  • German Inf Div 6-5 121
  • German Mecc Div 8-8 28
  • and so on…
    How to do it?

I would go to each piece (or prototype if there is one for each type you want to count) and add a marker. Like Marker = Type Value = Armor/Mech/Inf/etc. then you can use $sum_Marker Name$ to count.
You can see the Antonian faction has 15 Legions in play. 13 on generals cards and 2 by themselves on the map.


Great, Jardic! Thanks a lot: it is exactly what I need. But there is something yet not very clear (to me). So, may you send to me your vmod file, please?
I so I can examine it deeply.
vfranchini49@gmail.com
Regards
Vincenzo