[messages] [Module Design] Randomize Button for Province Module

Jym jean-yves.moyen at ens-lyon.org
Tue Sep 2 22:22:00 CEST 2014


1/ Give to every counter that need randomisation (and only those) a
marker, eg 
ICanHazRandomBurger = true

2/ Create a GCK. Use the "matching properties" field to only send the
GCK to pieces with 
ICanHazRandomBurger = true
and with "key command" being the command you want to send (here 'R' if
I've understood properly).

If you need to perform several actions at once, use a Trigger action
trait on the counter to group them.
Obviously, use a Prototype to group all the needed traits together or
you're guaranteed to forget something on some counter.

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


More information about the messages mailing list