[messages] [Module Support] Remember which deck cards came from...

Foobarius alter.alter.ego at hotmail.com
Fri Oct 2 02:17:34 CEST 2015


I believe you can use a SendToLocation trait instead of ReturnToDeck to
send cards to a deck - if you send it to the same coords as the deck it
should go into the deck.  SendToLocation does support property
expressions, so you could make the deck choice dynamic by having global
properties TradeDeckNX and TradeDeckNY (for N = 1 to 24).  Then in
SendToLocation, use expressions like ...

Code:

{GetProperty("TradeDeck" + nActiveTradeDeck + "X")}
{GetProperty("TradeDeck" + nActiveTradeDeck + "Y")}



... for the coords.

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


More information about the messages mailing list