Does anyone know if this is possible in VASSAL?
I have a feature request for my mod (ElfBall) and this player would like to activate a player layer by doubleclicking!
Thanks!!!
Does anyone know if this is possible in VASSAL?
I have a feature request for my mod (ElfBall) and this player would like to activate a player layer by doubleclicking!
Thanks!!!
I don’t think it’s possible out of the box, but you can somewhat emulate it with an action button, a global property and a trigger:
FOO should be numerical from 0 to 1 with wrap checked.
Drawback: it will wait forever for a second click instead of just aborting it if the double click is not fast enough, which is not exactly ideal… Maybe you can have triggers that reset FOO to 0 wherever anything else is done on any other piece on the map (to simulate time passing)…