[messages] [Module Design] GKC with a variable in the name

kerkael kerkael at gmail.com
Wed Jun 19 18:02:13 CEST 2019


Hi

Can you call a GKC with a variable in its name ?
I mean, I have a PlusOneBlue, PlusOneRed, PlusOneGreen ... and I want to
use a GKC that says  : PlusOne$PlayerSide$
This does not work, and I know I can use matching properties
$PlayerSide$="Blue" to act on GKC PlusOneBlue, but that makes too many
traits to create.

So ... possible or not ? With which syntax ?

Thanks for your ideas

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


More information about the messages mailing list