[messages] [Module Design] Lock Piece In Place

DrNostromo drnostromo at drnostromo.com
Tue Jun 12 17:37:06 CEST 2018


On those pieces that you want to lock, you'll probably want to use a
Replace with Other trait.

What you'd do is place a Marker on the pieces you want to lock
...something like UnitType = LockIt

Define a Replace with Other trait as being exactly the same as the piece
you're replacing except give it the Does Not Stack trait and check not
movable.

Then, once your setup is done, send a command to all piece with UnitType
= LockIt to trigger the Replace with Other. This will lock them in.

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


More information about the messages mailing list