Create account / Log in

Stack selection, deselection

Talk about module design ideas and techniques.

Moderators: uckelman, Tim M

Stack selection, deselection

Postby Benkyo » December 26th, 2020, 1:13 am

I currently have a setup where some pieces are transporters, and when put into a stack that doesn't contain any other transporters, a map command activates a conditional trigger SumStack("transporter")==1 to activate a key command Down, to put the transporter at the bottom of the stack.

What I would like to do is add a command to select the stack when this happens, is that possible?

If not, I guess I have to wait for Vassal 3.5, to automatically deselect the piece, which is probably the next best thing as the player then has to click once to select the stack, without having to click off the stack first.
Benkyo
 
Posts: 326
Joined: March 13th, 2013, 11:02 pm

Return to Module Design

Who is online

Users browsing this forum: No registered users and 3 guests