This is a little more tricky. The way that I handle this is to make a counter
that is transparent around the edges, showing just the flag or symbol so as not
to obscure the entire hex. The counter would have 3 layers (sides). One
totally blank, the other two with the two sides flag/symbol.
For those counters, I have a "does not stack" trait applied to them via a
prototype. Then I use a pre-defined setup to place those counters on all the
hexes that they apply to with the transparent layer on top.
Then, while playing, you click to select the hex (piece) and flip it to it's
various sides showing control.
Easier to see an example of that than explain it so I'd point you to the module
that I did for "Texas Revolution" that uses this exact technique. You can find
it on the vassalengine.org site.
GJK
At 11:21 PM 9/21/2006, you wrote:
>Sorry, another question just came to mind.
>
>How can I select a HEX, and apply actions to the HEX? For example, let's
>say that I have 2 armored units on a hex. I'd like to put the mouse onto
>the stack (or directly onto the hex), notify the module that I am selecting
>the hex (and not the units), and then perform a hex-related action (like
>change a designator that shows which country controls the hex).
>
>
>
>Todd Dunnavant
>
>[EMAIL PROTECTED]
>
>
>
>
>
>
>[Non-text portions of this message have been removed]
>
>
>
>
>Yahoo! Groups Links
>
>
>
>
>
>
>
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/vassalengine/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/vassalengine/join
(Yahoo! ID required)
<*> To change settings via email:
mailto:[EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]
<*> 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/