[messages] [Module Design] Is there a way for Vassal produce a result when two card are
spideratj at aol.com
Sat Dec 24 14:22:45 CET 2016
Yes. Make a new global property with numeric values 0-2, starting at 0.
Place a trigger in each of those two cards to increment that global by 1
when the card is played. If both are played, without the global having
been cleared back to 0, then the value would reach 2, indicating your
Hopefully that gives you an idea - I can elaborate if need be. Other
things to consider would be if the order matters, how the "X" result is
handled/presented from there, and importantly: how exactly to clear the
global back to 0 (so if player A plays card 1, and player B plays card
5, then you want the global cleared from its 1 status back down to 0). A
non-applicable card being played could clear the global, or a turn or
phase counter could do it... and actually something like the latter
would be best if you don't want the result wrapping over turns (i.e.,
preventing: end of turn 3, player A plays card 1; start of turn 4,
player B plays card 2).
Hope that helps.
Read this topic online here:
More information about the messages