On mouse over stack viewer

Hi,

I can disable the “on mouse over stack viewer” option with the “Draw Units?”, but…Could I check or uncheck this option with a command for individual stacks? or … Could be possible to assign a property/value that states if a stack is checkable/visible??

I need that such stacks may be visible or not when the owner wants.

Thanks

Not the former but the latter,

The MOS Viewer can filter what to display using properties, so if you assign
a dynamic property to all your pieces and have a toggle command for the DP
you can do it this way

Post generated using Mail2Forum (mail2forum.com)

Thanks!!!

It works very well…
Now the only little problem is that you must change the DP value for each unit in the stack. :wink:

This is the first time I use properties.

Thanks again.

You dont have to issue the command to each individual piece in the stack if you first select all the pieces with marquee window first (left click and draw a box around them) then issue the command to one of the now selected pieces - the command will echo on all the other selected pieces

— On Wed, 10/1/08, gstorre messages@forums.vassalengine.org wrote:

Post generated using Mail2Forum (mail2forum.com)

Yes, thats the way I do it, but if you have 3 units i.e., then you have to select 3 times the new value. correct?

just the once if all 3 pieces are selected

— On Wed, 10/1/08, gstorre messages@forums.vassalengine.org wrote:

Post generated using Mail2Forum (mail2forum.com)

Not in my current module. I just tested it and the property value was prompted 3 times.
I have DP with two possible values, instead of needing writing the values, and the same DP and Command for the three units.

How can I do it with only one change for all??

The problem is using the ‘prompt’ or ‘list’ options as it will always ask you for a value for each piece. You need to set the property values ‘directly’

You will need to use the following sequence:

  1. Set the new value into a Global Property using a ‘Prompt’ (say called Value)
  2. Set the property of each piece ‘directly’ to the value $Value$

B.


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

Post generated using Mail2Forum (mail2forum.com)

Another method which I use is to set the DP to a numeric value with a range of 0 to 1 much like an I/O switch and then just use increase (or decrease) value by 1 and allow it to wrap around like a layer

— On Wed, 10/1/08, Brent Easton b.easton@exemail.com.au wrote:

Post generated using Mail2Forum (mail2forum.com)

I’m not sure if I do it like you told me… :wink:
…but now it goes well.

I added the DP, and set it value with two commands (with ‘set value directly’ type). Then I don’t know why I nee a GP.

Good solution where there are only a couple of values to choose from.

Use the GP if you needed to set all counters to a value prompted from the user.

B.


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

Post generated using Mail2Forum (mail2forum.com)

Ah, ok. I undestand better now. :wink: