My module has a number of cards with each card having a “Return to deck” command set to “CTRL R”. Then I have a “Report Action” command that is set also to “CTRL R” with the following text displayed in the chat window: “$playerName$ returns the $oldPieceName$ to $mapName”.
I then created a GKC to send all the cards back to the deck with one press, once again setting “CTRL R” as the key command. The “Suppress individual report” checkbox is checked and the following text is displayed: “$playerName$ returns all cards to the deck”. This, of course, is invaluable when you have played 10 cards and you don’t want to send each card individually back to it’s deck. The card deck is located on the same window as the GKC. This works with no problems.
However…
I then decided to move the the deck to another map window. When the GKC is pressed, it sends all the cards to the deck in the new map window, however the individual reports are now displayed. This causes the chat window to be inundated with a report message for each card.
Admittedly, not a showstopping bug, but annoying nonetheless.
Place a few pieces on to the main map.
Press the “Return Cards/Return Units” toolbar menu.
Select the “Remove your units” option.
All the units will be deleted but the individual reports will still display.
The GKC is located in the “Battle Mat” map window. The delete command is located in the Game piece prototype called “Bothsides”. (This prototype is fairly crowded. )
In the BM module, the unsupressed message is for a Delete trait. It turns out that Delete is a special case. The pieces is Deleted before it get’s reported, and this then interferes with the supression of the message.
I have fixed the problem and committed it to
swampwallaby-3.1@6062
but unfortunately, you will need to wait until version 3.1.12.
3.1.12 might not be all that far off, as one of the bugs I put in a fix
for a few hours after releasing 3.1.11 (another PNG transparency bug) is
awfully irritating.
I’ve uploaded 3.1.12-svn6069 which is a test build containing Brent’s fix.