Currently trying the new attachment traits and functions. Looks great ! But I am not sure how does this work in the current interface.
Release notes VASSAL 3.7 Release Notes - Vassal talk about a new set attachment property trait. I am not seeing this trait in 3.7 beta 5. I can see a “select by attachment” in the new “set piece property” but had no luck making it work.
I used the attachment trait to attach two pieces in auto mode with allow attachment to self checked. Both have the same attachment name.
Then I used a set piece property trait in one of those two pieces. Pre-select by location. Select by current attachments. Everything else blank. I set a key command up. Nothing fires. The same key command in a dynamic property works on the current piece.
Also the same for both pieces. EIGHTH and AG F are then used to control layers to show that this piece belong to such army. That part is working on one piece using a dynamic property. I would like to use this set piece property to trigger the same behavior for both pieces from both pieces. The “select army” command show up in the right click menu for both pieces but no user prompt shows up.
I got it to work, and my mistake was much more fundamental: I did not understand that a set piece property does not create the property in the other piece. You need to create the dynamic property in the other piece, and then use a set piece property to modify it from the first piece.
Something useful to mention in the documentation I guess.