Choose Random Pieces and Place on Map?

Hello,

I have just starting working on VASSAL after years of looking at it thinking “what a wonderful idea!” :slight_smile:

Any any case, I am trying to modify a module to add the feature of selecting some game pieces at random and placing them in a specified hex. Any tutorials on this anywhere?

More advanced, once I’ve done this, I would like to place a hidden counter (like an ASL concealment counter) on top of the aforementioned units.

Thanks in advance,
Dan

Easiest way, maybe the only way, to select pieces at random is to have them in an always-shuffled deck off-board or Return them to such a deck, then send Global Key Commands to the pieces in the deck that trigger Send To traits to put them in the specified hex.

Of course, this might not work for you, depending on your requirements.