I’m new to this, and I’m attempting to wrap my head around global key commands. I have two sides–side A, and side B. Their units may be marked with a demoralized piece, which can be in two steps (as layers on the piece).
I’d like to create a button that allows player A (at the end of his turn) to click and reset the demoralized status. Anything that is on level 2 of the demoralized marker should go to level 1, and anything already on level 1 should be removed. It appears that this should be relatively straightforward, but the documentation isn’t entirely clear on the best way to do this.
Does anyone have an example module that does something similar? Or any steps on how to implement this? Thanks.