Tim got it (again).
 
When I changed it to <name>_numPieces, everything worked great.
 
Thanks,
 
Dave

________________________________

From: [email protected] [mailto:[EMAIL PROTECTED]
On Behalf Of Thomas Russ
Sent: Friday, July 27, 2007 11:22 AM
To: [email protected]
Subject: Re: [vassalengine] Number of Cards in Deck




On Jul 27, 2007, at 8:51 AM, David Neumann wrote:

> 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?

What exactly do your trigger and text label contents look like?



 


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

Reply via email to