Problem with locating markers in the stack

Hi guys,

My name is Kamil and I’m a beginner at creating modules in Vassal.

I’d like to ask for your advice on how to solve the following problem in a module I’m creating.

When there are multiple units in a single hex, and then one of them in the stack is supposed to receive marker, than instead of being assigned to a choosen unit, the marker automatically lands at the top of the stack.

I’d like to achieve that each unit in the stack can have own marker next to him, not all of them on the top.

Below the example of my problem ;/

Could you tell me what I need to change to make this work?

Thank you in advance.

Kamil

Implement the required markers not as standalone pieces that stack with everything else, but as Layer traits on each piece capable of receiving them that can toggle on/off. This way you avoid the stack problems and when an individual unit carrying such a marker moves away from other units, there’s much less fuss required to have the marker go with it.

Hi Joel,

Thank you for your respond, but can you tell me where to change this option? I went thrue all markers and definitions but I dont have idea how to change them :confused:

Kamil

The documentation of the Layer is in the Reference Manual. The Reference Manual explains in some details what concepts such as Game pieces and Traits are.

TL;DR: traits are defined on game pieces to give the game pieces different capabilities, such as being able to rotate, delete, clone, etc. a game piece. Other traits, such as Layer gives a piece the ability to change appearance. Game pieces are any kind of object that can be moved, placed, etc. on the game map.

Perhaps you want to take a look at some of the resources available in Documentation Index - in particular the ones under the heading Module Creation. There, you can find tutorial videos and much more. l

Yours,
Christian