Create account / Log in

Calculated property+layer based on number of pieces in stack

Talk about module design ideas and techniques.

Moderators: uckelman, Tim M

Calculated property+layer based on number of pieces in stack

Postby Benkyo » September 24th, 2020, 8:53 am

Is there a property I can reference to change an image layer based on the number of pieces in a stack?

Specifically, as a way to get around Vassal's inability to keep relative positions between pieces when changing facing of a selection of pieces, or to have stack offset be reflected by piece facing, I'm thinking of a zero offset stack with one piece in the stack designed to switch to a progressively bigger image the more pieces there are in the stack.
Benkyo
 
Posts: 271
Joined: March 13th, 2013, 11:02 pm

Re: Calculated property+layer based on number of pieces in s

Postby Benkyo » September 25th, 2020, 1:10 am

Nevermind, think I have this figured out now.
Benkyo
 
Posts: 271
Joined: March 13th, 2013, 11:02 pm


Return to Module Design

Who is online

Users browsing this forum: No registered users and 6 guests

cron