[messages] [Module Design] Re: Any way to implement a table (scoreboard) in vassal?

DrNostromo drnostromo at drnostromo.com
Mon Jan 16 08:50:14 MST 2012

Interactive tables are fairly easy to build - I use them extensively -
but you have to build them from scratch.

First you create a table graphic.

Each entry on the table would be created as an At-Start stack with a
Text Label trait displaying the value of a Global Property and triggers
to adjust it. You can then add smaller adjustment graphics like an up
arrow, down arrow to increase/decrease the value or skip the buttons and
just right click the piece displaying the value.

For sums, do the same thing but have a way to trigger the sum display to
re-total every time the individual values are adjusted with a Set Global
Property of something like:

Set value directly to {A+B+C+D}, if if your using Vassal 3.2.

If you're still using 3.1, then it will be more complicated as you'll
have to find a way to reset the sum value to zero and then increment the
value by each individual value. You could try to set it up so that the
sum increases/decreases ever time one of the individual values is
changed rather then resetting it and adding everything together but you
have to be careful with this method. If the sum value and the total of
all the individual values gets out of synch, they'll remain that way.

Read this topic online here:

More information about the messages mailing list