TRANSFERCARD from a zone other than the main deck to table?

Started by BLOODWOLF, December 06, 2019, 07:42:28 PM

Previous topic - Next topic

BLOODWOLF

Tinkering with the Magic plugin and made a button to play the top card of the player's command zone (scheme deck for Arch Enemy) to the table face-up.  Either I am blind and missing something or the program is not doing what I am telling it to after following through the plugin creation tutorial.


...
<deckzone>
<label>Deck</label>
<shuffle>yes</shuffle>
<gamezonetoloadto>Library</gamezonetoloadto>
</deckzone>
<deckzone>
<label>Command</label>
<shuffle>yes</shuffle>
<gamezonetoloadto>Command</gamezonetoloadto>
</deckzone>
...
<gamezone>
<label>Library</label>
<visibletoowner>no</visibletoowner>
<visibletoothers>no</visibletoothers>
</gamezone>
...
<gamezone>
<label>Command</label>
<visibletoowner>no</visibletoowner>
<visibletoothers>no</visibletoothers>
</gamezone>
...
<generalfunction>
<label>Play command</label>
<kind>TRANSFERCARD</kind>
<includeasbutton>yes</includeasbutton>
<sourceowner>performer</sourceowner>
<sourcezone>Command</sourcezone>
<sourceposition>top</sourceposition>
<destinationowner>table</destinationowner>
<destinationposition>faceup</destinationposition>
</generalfunction>
...


In-game after loading a deck to your library and a scheme deck to your command zone and pressing the "Play command" button it just plays the top card of your library to the table instead of from the command gamezone.....why?


BLOODWOLF