Deleting certain markers on a new Turn

A Turn counter hotkey is not sent to Game Pieces - only to the Game Module or Map Window. To propagate the command to Game Pieces you need a trampoline Global Key Command. For example

  • Module
    • Turn Counter
      • Hotkey
        • Global hotkey: clearOrders
        • Match properties: {Phase == "Orders Phase"}
    • Global Key Command
      • Global Key: clearOrders # Same as in turn counter hotkey
      • Key: Ctrl+D
      • Additional matching expression: {Order==true && Order_Active==true && Order_Level == 1}
    • Game Piece
      • Mark trait
        Name: Order
        Value: true
      • Layer Trait
        Name: Order
      • Delete Trait
        • Key: Ctrl+D

Note that I encoded the condition in the Global Hotkey Command rather than as a Trigger trait in the piece.

No, I don’t think you are, but you’re not using the turn counter element correctly. It is not surprising - that the turn counter hotkey only sends to the module or maps is rather poorly documented (see also this thread).

The Keystroke or Named Command to fire. The module will respond exactly as if one of the players had pressed this key or selected a menu item corresponding to a Named Command.

Note that it says “… selected a menu item corresponding to a Named Command.” That’s the clue - albeit rather obscure.

Yours,
Christian

1 Like