[messages] [Module Design] Using piece Global Key Command Questions.

DrNostromo drnostromo at drnostromo.com
Wed May 14 17:01:45 CEST 2014


> Does the Window or board property name need the $'s notation?


No, my mistake. Simply name the map window with no symbols.

The  $  is used for variables and you would use them if you're looking
for a variable value.

For example, lets say your player sides are name Player1, Player2, etc.
and each player has their own map window with each called Player1_Hand,
Player2_Hand, etc. If you wanted to direct a GKC to the map window named
for the player who initiated the action, you would use:

CurrentMap = $PlayerSide$_Hand

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


More information about the messages mailing list