All the dead in nice neat rows

Here is a simple means of lining up counters sent to the graveyard, or other off-board zone. It just requires the creation, and assignment to all relevant units, of a prototype, and the creation of appropriate zones and a global variable in the offboard map. First the prototype:

and its key components:

The offset here places the counter initially from the zone center to the lower left corner.

The Dynamic Property Placed is initialized at 0 and set to 1 on arrival in the Graveyard to halt infinite recursion.
Set Global Property - Increment Arrived increments the variable Arrived (see below) by 1 with a wrap and limits of 0 to 8 (as my graveyard has 9 columns).

Every counter is assigned a value of the variable Side which will control the graveyard zone which it is to line up in, and the graveyard has zones named with each possible value of Side. Each graveyard Zone has the global variable Arrived defined and initialized to 0 with wrapping limits of 0 to 8. A dummy instance of Arrived is created at the module level to prevent an ‘Invalid Variable’ message on module load, and initialized to zero.

Finally, the Graveyard map is set to invoke the Watch For keystroke from above, CTRL ALT G in my case, for all units arriving on the map.

The result of sending several units to the Graveyard then looks like this:

Incredible! Thanks a lot.

This would make it so much simpler than what I have done before and entered EACH coordinate individually for every unit. Especially tedious as the number of units increases in a particular game.

Haven’t tried it out but looking forward to implementing it in my next game.


One more note - the counters are actually stacking on the bottom row as I have implemented it here, since $Arrived$ is counting modulo 9. If you want the counters to actually land on distinct hexes, a second counter stepping up at the value of:
hex-height / #-of-rows
with a suitable stargint offset will achieve that effect.

I would like to implement this function in a module, but unluckly looks like the images on the example are no more available.
Could someone send me the pictures ou give me more details about how to implement it, please?