Feature implemention suggestion (New to Vassal)_

I’d like to add a feature to groups of pieces (based on a piece property) to either set a layer (not preferred) or add a mask when a certain state is set (or not) say a global property. Although this would required a dozen different properties (one for each group).
And maybe have a single piece in that group have the ability to set the property (apply the mask to all pieces in the group).
Hope this makes sense.
Any suggestions where to start, how best to implement this?

Thus spake msward1:

I’d like to add a feature to groups of pieces (based on a piece
property) to either set a layer (not preferred) or add a mask when a
certain state is set (or not) say a global property. Although this would
required a dozen different properties (one for each group).
And maybe have a single piece in that group have the ability to set the
property (apply the mask to all pieces in the group).
Hope this makes sense.
Any suggestions where to start, how best to implement this?

If you describe more concretely what you’re trying to accomplish,
you’re more likely to get a reply.


J.

I have a formation, say 10 counters.
Until their HQ unit arrives on the map the values on each counter of the formation are reduced.

What I was think is have a global property for the formation. Set its starting value at 0, the HQ is not on the map. When the HQ arrives the property for that formation increments.
There are a number of formations each with HQs arriving at different times.

So the units of the formation have a mask when the global property for their formation is 0 and no mask when 1.
The is maybe a flag (like the counter moved icon) or a circle around the counters values.

Make sence?