Can Global Properties act on report message values such as $location$ ?
As a for instance: A counter is used to mark which piece is about to attack. I understand how to use message reports to write something like, “C6 attacks to the right …”. But is it possible to use change property to alter the value of, say, $location$ to give a report such as this: “C6 attacks C7”?
The piece in the $location$ has to save the value of $location$ to a global variable using a “Set Global Property” trait. Once it’s there, global actions can use the name of that global property instead (which now holds the value of the pieces location).
Unfortunately, VASSAL’s big weakness right now is documentation. We have some people looking into that currently. Have a look at the relevant thread here: