Hi James, 'Replace With' does just that, it replaces one piece completely with another completely unrelated piece exactly as you have it defined in the module. Vassal is doing exactly what it is supposed to - it doesn't (and can't) "know" that the 'replace with' piece is actually related to the old piece and needs to be manipulated in some way.
You have two options: 1. Somehow communicate the 'state' of the old piece to the new piece. This can be complicated - you need to use 'Place Marker', rather than 'Replace', then use Global Key Commands on the old counter to update the new counter, then delete the old counter. 2. Don't use 'Replace with' to change sides, implement the 'ownership' within the one piece. What makes a piece belong to one side or the other - color? use a layer. Marker value? make it a dynamic marker that can flip between the two sides. Regards, Brent. Regards, Brent. >*********** REPLY SEPARATOR *********** > >On 4/07/2007 at 7:09 PM rindis8 wrote: >I've got a piece with layers and a marked when moved trait. I want to >be able to replace it with an equivalent counter from another side. >So, I have "Replace with Other" in there with "Match Current State" >selected. > >But when I actually use the replace command, the movement marker is >cleared, and it reverts to the default layer. Any thoughts as to what >might be going wrong? > >James > > > ____________________________________________________________ Brent Easton Analyst/Programmer University of Western Sydney Email: [EMAIL PROTECTED]
