*********** REPLY SEPARATOR *********** On 14/11/2005 at 5:19 PM post rodent wrote: >Hi there, everyone -- > >I seem to have about five Vassal projects going right now, so it's >definitely caught my imagination... :) > >Right now I'm working on one which involves players drawing cards from >a deck into a stack their hands, and then being able to draw a random >card from that stack. In other words, the stack in their hands needs >to behave like a deck, one that has no cards in it at the start of the >game. > >What would be the simplest way to do this? Can a deck be empty at the >start of the game, and treat cards dropped into it as its own cards >with all the functionality associated with it?
Absolutely. There is an option in a Deck to draw a rectangle when it is empty so you can see where it is. You can also highlight it's position with a background image on the map. Yes, cards dropped onto an empty deck will work as you expect. I use this method in the Devil's Cauldron to handle the activation chit drawing. My Activation map has an empty deck for the chits. For each scenario, I create a new save game and drop the necessary chits onto the Deck and save it. The Chits are just ordinary counters, you don't have to create them as 'Cards' in a 'Deck' somewhere. Cheers, Brent. > >Thanks in advance for any thoughts you might have. ____________________________________________________________ Brent Easton Analyst/Programmer University of Western Sydney Email: [EMAIL PROTECTED] ------------------------ Yahoo! Groups Sponsor --------------------~--> Get fast access to your favorite Yahoo! Groups. Make Yahoo! your home page http://us.click.yahoo.com/dpRU5A/wUILAA/yQLSAA/IMSolB/TM --------------------------------------------------------------------~-> Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/vassalengine/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
