I don't understand highlight .... [RESOLVED]

Hello,

I’m french and i’m working on my fisrt module on vassal : so you’ll excuse my newbieness !!

I’m trying to highlight some zones but I can’t :
When I create a zone, I tag “use highlight” with the property wich is the name of the highlight.
Then I create the highlight with the same name.
And nothing works …
It’s seems normal : in a prededent topic, someone has the same problem with highlighting zones and Brent answered … but (may be it’s my no-understanding of the language) I don’t understand what Brent said :blush: and I don’t understand what to do.
It seemed logical to put in the property the name of the highlight but it’s not working like this apparently …

Thanks for answering me and sorry if my post seems a bit confuse, my english’s not so good …

Forlax

Hi Forlax,

This is where you are going wrong. The tag ‘Use Highlight’ should not contain the name of the highlighter. It must contain the name of a Property whose value is the name of the highlighter.

The property can be a Dynamic Property, or a Global Property.

This allows the highlight to be changed during the game by changing the value of the Property.

B.


Messages mailing list
Messages@forums.vassalengine.org
forums.vassalengine.org/mailman/ … engine.org

Post generated using Mail2Forum (mail2forum.com)

Thanks for your answer Brent !

It’s not easy for me but I think i begin to understand what you say …

And so, how do you make a zone highlighted only when you discard a piece in ??

it depends on the Property I suppose, but I don’t see how …

Forlax

You need to make the discarding of the piece change the Global Property that the sets the Zone Hightlighter. You can do this with a Trigger Action trait and a Set Global Property trait.

B.


Messages mailing list
Messages@forums.vassalengine.org
forums.vassalengine.org/mailman/ … engine.org

Post generated using Mail2Forum (mail2forum.com)

Ouch … seems complex for me :confused:

But I’ll try : thanks for all your advices Brent !!

Forlax

Build it up in small steps, piece by piece.

B.


Messages mailing list
Messages@forums.vassalengine.org
forums.vassalengine.org/mailman/ … engine.org

Post generated using Mail2Forum (mail2forum.com)

Yosh !!

Success about the highlights of the zones !!! MERCI !

I still don’t understand the logical between the properties and all the triggershwinithingsstuff … argggggg luckily I’m already bald or else I would have taken off my hair !! :open_mouth:

I might be dumb … :cry:

Forlax