(Oh, so this is where questions about working on new modules go. Sorry about putting the previous one into Development…)
I want to be able to draw a card from a deck, move it to a predetermined zone, clone it, and then return either the original card or the clone to the deck. I can define traits to do each of those things on each card in the deck, and these all work; however, I can’t seem to get a button to select one card from the deck and then do all three actions.
I tried defining a Deck GKC that would call a MAB on one card that would invoke each of these three traits, but nothing happens. I am guessing that it is one or more of (a) the MAB is supposed to work on other buttons, and (b) it is defined on the deck, but the actions are to be taken on the selected card.
How do I define a button and/or a deck menu option that will select a card and apply multiple actions/traits to it?
Yes, a Multi-Action Button is how you perform a sequence of toolbar buttons, not things on game pieces.
The way to carry out an ordered sequence of actions on a piece is a Trigger Action. All actions specified by the Trigger (the bottom section of its configuration) execute on that piece.
Your Deck GKC can apply the Trigger’s key command, and then the receiving piece in the deck will in turn execute other traits you define in that piece to: move it to the desired zone (Send to Location trait), clone itself (Clone trait), then return itself to the deck (Return to Deck trait or another Send to Location that specifies the precise XY coords of the origin deck).