[messages] [Module Design] Re: Saved player decks: default properties?
drnostromo at drnostromo.com
Sat May 21 07:02:39 MST 2011
I think the easiest way to do that would be to have the player's hand
window set a trigger that goes off whenever a piece is moved to it.
Here's an example:
The player's hand has a setting for "Key command to apply to all units
ending movement on this map". Set that to CTRL 1
The cards have a Trigger Action that triggers on CTRL 1 and sends a CTRL
2. This fires when the card is sent to or moved into the player's hand
The card also has a Global Key Command that triggers on a CTRL 2 and
sends a CTRL 3 to the Community Deck. Property filter would be something
CurrentMap = (map the community deck is on) && DeckName = (name of
community deck) && BasicName = $BasicName$
The cards in the community deck would have a Delete trait that triggers
on a CTRL 3. When the deck receives the CTRL 3, it will delete the card
that has the same BasicName as the card just placed in the player's
If you have it set up to where the hand is already built, the cards
traits would be the same. The only difference would be to set up a
button that sends a CTRL 1 to all cards in the player's hand and then
the button deletes itself.
Read this topic online here:
More information about the messages