---------- Forwarded message ----------
From: Rodney Kinney <[EMAIL PROTECTED]>
Date: Jul 27, 2006 1:31 PM
Subject: Re: Looking for help and/or ideas with a deck dillemma...
To: -E <[EMAIL PROTECTED]>

Forwarding to the mailing list, where other people may offer ideas:

On 7/26/06, -E <[EMAIL PROTECTED]> wrote:
>
> I have a quandry...
>
> 1. I have four decks.
> 2. I have coded each of the cards to return to the appropriate deck from
> another map, where they are played.
> 3. I need the ability to periodically assign a (fixed per deck) number
> of random cards to each deck from a fifth deck (while removing unused
> similar cards).
> 4. I can't think of a way to do that and keep the ability to return to
> the appropriate deck after play on another map.
> 5. Is there a way for Vassal to pick up/set a counter specific variable
> from that counter's location? (i.e., I'd clear a variable for all
> appropriate cards, then have the user drag x cards to deck A, y to deck
> B, etc, then have the user hit an "update variable" sort of global
> command, then use those variables to tell the cards which deck to return
> to for awhile)


Brent's just submitted an update that lets you use properties in a
SendToLocation trait to determine the target location.  That'll make into
2.7.x in a week or so.  Once that exists, you can use Dynamic Properties and
a GlobalKeyCommand to solve the problem.  Make a GlobalKeyCommand that sets
the property value to X if a counter is in Deck X, etc.  I can't remember if
$CurrentLocation$ returns the name of the Deck when a piece is in a Deck,
but if it doesn't you can set up a different Zone for each Deck.

rk


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



 
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/
 



Reply via email to