I would love to hear the answers to these questions as well.  Anybody??
Kevin

  ----- Original Message ----- 
  From: nrandall 
  To: [email protected] 
  Sent: Wednesday, March 07, 2007 10:23 AM
  Subject: [vassalengine] Re: Counting items in a deck



  Thanks for this, Tim. But I must admit I have no idea how to get this 
  feature working, despite several attempts. Would anyone be willing to 
  do a quick walk-though?

  More significantly, can it be applied to a deck that the other players 
  can't see? I.e., a player hand? I want each player to see how many 
  cards the other player has in his hand at any given time (a pretty 
  common need in CDGs).

  Another question: Has anyone come up with a way to allow one player to 
  draw a random card (or cards) from another player's hand? Or something 
  like that? CDGs all seem to have 2-3 cards that say "Draw a card 
  randomly from the other player's hand and discard it". 

  I realize this could be done by drawing all cards to the map and 
  rolling a die (1 is left, 2 is second-left, etc.), but if cards auto-
  flip, that's not ideal. I could build a special deck just for this 
  purpose that's visible to all and that doesn't flip the cards, but 
  again it's not ideal.

  Neil

  > The reference manual indicates that decks have a Map-level property 
  called
  > <name>_numCards. After many frustrating failed attempts at getting 
  this
  > to work, I checked out the source code and discovered that the 
  property is
  > actually called <name>_numPieces. (Seems like a better name anyhow,
  > because decks are not restricted to holding cards)
  > 
  > Just thought I'd post a note for anyone else searching for the answer.
  > (I'm sure the docs will get updated in the future ;) )
  > 
  > Cheers
  > 
  > -Tim
  >



   

[Non-text portions of this message have been removed]

Reply via email to