[messages] [Module Design] Game Piece Inventory Window

Brent Easton b.easton at exemail.com.au
Thu Aug 6 00:43:03 CEST 2015


Hi,
If you click on the little Calculator icon at the end of the properties
field you will get the Expression Builder and you will notice a red
cross next to the field. The red cross indicates that the expression is
invalid. Hence the error.

If you are going to type in expressions directly, rather than using the
Expression Builder, then you should always open the Expression Builder
after you have finished to check whether or not the expression you have
entered is valid.

Expressions within {} must be pure Java syntax. Any text used for
comparisons must be enclosed within double quotes, so the correct
expression is


Code:
{(CurrentMap=~"West Hand|Axis Hand|Soviet Hand") && CardCount==1}



Regards,
Brent.

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


More information about the messages mailing list