Create account / Log in

trait to retain counter during Hide All Pieces

Topics related to the main Vassal engine.

Moderators: uckelman, Tim M

trait to retain counter during Hide All Pieces

Postby wga » December 30th, 2017, 6:20 pm

The Globe button to Hide All Pieces hides all the pieces to view the map unobstructed. Is there a counter trait to keep a piece in view during Hide All Pieces? I would like to still see the control markers in a specific module to count the number of VP cities controlled.
wga
 
Posts: 12
Joined: September 5th, 2010, 8:29 pm

Re: trait to retain counter during Hide All Pieces

Postby shilinski » January 1st, 2018, 8:47 am

You can do it, but not through "Hide All Pieces." You must create your own new "Hide All Pieces" button, and here's how.

In the editor, find the "Game Piece Layers" item. (If you aren't using it, you should, but that's another discussion.) Make sure all your control markers are in a layer (or layers) different from the pieces you want to hide. (This is not a the piece Layer trait. That's completely different and unrelated.)

Right-click the Layers item to select "Add Game Piece Layers Control." Change the button text to something like "Hide" and maybe find a nice globe icon. For Action, choose "Switch Layer between Active and inactive." Then list the layers you want to hide--not the layers with your markers.

This will create a toolbar button that does what you want. You might want to delete the usual Hide button to avoid confusion.
shilinski
 
Posts: 169
Joined: December 22nd, 2007, 8:46 am
Location: Laurel, Maryland


Return to General Discussion

Who is online

Users browsing this forum: No registered users and 0 guests