LackeyCCG

LackeyCCG Forum => Plugins & Plugin Creation Forum => Topic started by: Shockpulse on June 02, 2013, 01:17:22 AM

Title: TRANSFERCARD or Discard-from-Deck Hotkey
Post by: Shockpulse on June 02, 2013, 01:17:22 AM
The TRANSFERCARD "Deplete Deck" example general function is just what I needed for the game I'm currently creating. (Never had a use in the past many years I've used this wondrous program.)
However, the game is won by discarding all the cards in your opponent's deck. I doubt any players would appreciate having to right-click the table and then choosing the function several times each turn. Additionally, having it buried in the general functions seems unbefitting of such a useful button.

Ideally, I would have a big button available at all times, similar to the card functions (or even alongside them). Is there any way to do this?  Am I simply missing out on something obvious (per usual)?
Title: Re: TRANSFERCARD or Discard-from-Deck Hotkey
Post by: Gordon228 on June 02, 2013, 10:13:52 AM
if you added the function right you should have a button for this. also the transfer card is a genral function so it would not go into the right click menu.
Title: Re: TRANSFERCARD or Discard-from-Deck Hotkey
Post by: Shockpulse on June 02, 2013, 12:04:57 PM
Clearly I'm doing something wrong then! Ever since I made my first plugin ages ago, my general functions have always appeared in the right-click menu from the table.
Maybe it's something client-side, I don't know.
Title: Re: TRANSFERCARD or Discard-from-Deck Hotkey
Post by: Shockpulse on June 06, 2013, 02:11:21 AM
<includeasbutton>yes</includeasbutton>

The above solved it. Thanks to the Vanguard plugin!