Can the Mouse-Over stack viewer show the terrain below for some pieces and not others?

I have a module where cards are sometimes brought onto a particular map along with counters. The cards need to stack on other maps, so they have the stacking attribute and so do the counters. The map’s mouse-over stack viewer is configured to show the terrain below stacks along with an enlarged view of the pieces in the stack. I would like to know if there is a way to make the stack viewer show an enlarged view of a card, and of the counters, but not the terrain beneath in the case of a card. If not possible, could the cards simply have the stacking attribute suppressed for this one map while active on other maps?

That’s not a thing you can do, but Mouse-over Stack Viewers are pretty flexible, so if you have some property by which you can identify terrain pieces (usually a Marker trait), you should be able to construct a piece selection filter expression that excludes them.

1 Like

To add…

  • remember you can have multiple mouse overs, with different filters and display setups
  • you might want to try out this setting at the end of the mouse over properties window:

image

If you have your pieces / cards mouseover with this option checked at the top of your list of mouseovers, and say a terrain one after it, the terrain one will not popup when the pieces/cards one is active.

1 Like

Also, you can disable stacking on a map in the map’s Stacking Options component.

Check the box at the top:

This takes effect for ALL pieces and it sounds like you won’t need to do this anyway, but the option is there.

1 Like

As well as the above suggestions, if you determine you really do need a piece to have stacking enabled on one window but disabled on others, you can use the Replace with Other trait, triggered by moving the piece onto the new window, to actually exchange the piece with another, almost identical piece, just with a different stacking trait.

1 Like

Thank you all for your responses which helped me solve the problem. I created two mouse-over stack viewers for the map, one activated by the cards and the other one activated by the counters. This was enabled by creating a marker on the cards with a trait that I could use as a filter.

1 Like