Number of pieces in a stack

There is a property that returns the number of units stacked together in a given hex? :slight_smile:

Currently only visible/usable through the Mouse over stack viewer combined
with something like a marker trait by accessing the sum(property) MOS
provides

-----Original Message-----
From: messages-bounces@vassalengine.org
[mailto:messages-bounces@vassalengine.org] On Behalf Of panther 2010
Sent: Thursday, August 04, 2011 3:39 AM
To: messages@vassalengine.org
Subject: [messages] [Module Design] Number of pieces in a stack

There is a property that returns the number of units stacked together in
a given hex? :slight_smile:


Read this topic online here:
https://forum.vassalengine.org/t/number-of-pieces-in-a-stack/4147/1

Many thanks for your kind reply.

Actually the Mouse over stack viewer allows only to see the units in a given hex, but doesn’t allow to fire command on them. I tried to use an inventory window limited to the selected hex ,but it is not very helpful because I’m not able to activate the inventory window firing a command from the selected unit.

I used a layer and a GKC and was finally able to know the number of piece in the stack.

But the real problem is that I need to fire a given command to each of the other pieces in the stack, one after the other, from top to bottom, waiting each time for a key command, but all the attempts using a GKC failed till now.
The GKC fires the command to all of the other pieces in the stack on the same time and I’m not able to prevent this by now.

Be well. :slight_smile:

Panther 2010.