[messages] [Module Design] Layers rotate

barbanera barbanera at fantafoot.com
Sun Apr 29 00:49:57 MST 2012


Well, that is not a bug. Indeed, it is exactly how rotation is supposed
to work!

What you want to do (just switching P1 and P2 while leaving Land always
on bottom) cannot be achieved by Game Piece Layers controls alone,
afaik.

You need to take a more convoluted approach. Here is what I suggest:

1) change name to your levels to Land, Middle, Top (not essential, but
just to avoid confusion, see below);

2) make your "Layer" (or "Level", or whatever is called) attribute on
the various pieces a dynamic property, rather than a static marker;

3) add to it command keys CTRL-A and CTRL-B, say, to change its value to
"Middle" or "Top", respectively;

4) use global key commands to send CTRL-A to Player1 pieces and CTRL-B
to Player2 pieces, or viceversa, whenever a new player's turn starts.

_______________________________________________
Read this topic online here:
http://www.vassalengine.org/forum/viewtopic.php?p=33584#p33584


More information about the messages mailing list