[messages] [Module Design] Newbie question about layers and traits

JoelCFC25 jkoepp at yahoo.com
Mon Aug 13 15:04:29 CEST 2018

Sure, you can easily do what you intend. I usually do it with just a
single Layer trait that has 2 levels, but you can just as easily do it
with the Ready/Spent images separated into 2 Layers. 

In coordination with your Layer traits, you'll need a pair of Restrict
Command traits. One Restrict Command will be for the Ctrl-R...make the
restriction "Hide" and follow the guidelines at the bottom of this wiki
page:  http://www.vassalengine.org/wiki/Layer[1]

I don't know what name you chose for your Layer traits, but let's
pretend the name of the "Ready" side layer was in fact __Ready__. In the
restriction for the Rally action, you'd want to put:  __Ready_Active =
true__. The converse--restricting the Fire action--would be
__Spent_Active = true__.  Replace the Layer names as needed.

[1] http://www.vassalengine.org/wiki/Layer

Read this topic online here:

More information about the messages mailing list