Variable values - use a shared dynamic property.

 

If it involves text, share the variable with the DP and then have the text
label call that DP - this way you can have different colors

 

  _____  

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of rindis8
Sent: Wednesday, July 04, 2007 9:24 PM
To: [email protected]
Subject: [vassalengine] Re: Replace With question

 

--- In vassalengine@ <mailto:vassalengine%40yahoogroups.com>
yahoogroups.com, "Brent Easton" <[EMAIL PROTECTED]> wrote:
>
> Hi James,
> 
> >*********** REPLY SEPARATOR ***********
> >
> >On 4/07/2007 at 11:34 PM rindis8 wrote:
> >--- In vassalengine@ <mailto:vassalengine%40yahoogroups.com>
yahoogroups.com, "Brent Easton" <b.easton@> wrote:
> >>
> >> Hi James,
> >>
> 
> Ok, yep, this should work, but has limits. Check that the setup of
the traits that you want to match are identical in the two counters.
ie. you cannot match the moved trait in one piece with another if they
use different moved images, or have different offsets. To match a
layer, the layer name, plus the names of all the layer images would
have to be the same - which is unlikely in your case. 

Urg, okay, it's the images that's doing it. That's a lot more limited
than I would have imagined. I figured if the Layer traits were given
the same names, and the Layers were given the same names, then the
variable values would be the same, and it would set the variable to be
the same on the new counter, which would give it the right active
layer, and go with whatever image was correct for that value on that
counter.

> >The problem with #2 is that I'm *already* using layers. There's six
> >different things and three different sides it could be at this point.
> >I can either have six different counters with three layers for the
> >different races, or I can have three counters (one for each race) that
> >each cycle through the six possible values. I don't see a real way to
> >do both at once.
> 
> Not knowing your module, it is hard to comment, but combining both
'values' and 'sides' into a single counter would be the way to go. 
>
> What about using images with transparent backgrounds for the 'six
different things' that would overlay the fully opaque 'three different
side' backgrounds? You could then cycle through both 'side' and
'value' in the one counter.

The background *and* text (which is what changes) should change color
by sides (e.g., black on blue = Federation, black on white = Kzinti,
red on white = Gorn).

In the end, it's merely a 'nice to have' feature for one little
portion of the module, it was just mystifying me as to why it didn't work.

Thanks for the time and advice!

James

 



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

Reply via email to