This is because the property is misnamed in manual where you are looking

 

Try <name>_numPieces :-)

 

  _____  

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of David Neumann
Sent: Friday, July 27, 2007 10:52 AM
To: [email protected]
Subject: [vassalengine] Number of Cards in Deck

 

Hi all,

I have a deck of cards and I want to be able to set a trigger so that
when the last card is pulled, a trigger occurs.

The game starts with this deck empty, then cards are added during the
game, and then they are finally removed from the deck.

I've been trying to use the <name>_numCards property, but it doesn't
seem to do anything.

I've set a trigger on each card that when a card is drawn from the
deck, it should trigger if <name>_numCards = 0. Nothing happens. I
added a text label to each card to monitor the value of
<name>_numCards, and I never get a number, all I get is
<name>_numCards, never a number.

What am I doing wrong? Is there something I need to do to have the
<name>_numCards property work?

Thanks,

Dave Neumann

 



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

Reply via email to