I want to turn off some of the traits for units in certain maps, is there a way say to intercept a keyboard command and then do nothing with it for instance. The trait involves changing the value of a card that is hidden so that the owner can’t change it’s value while waiting to reveal.
Sure. Use the Restrict Commands trait–it’ll accept property match expressions so you can be quite precise in targeting the circumstances in which a command should be disabled.
Recently I used Restrict Commands, to only allow a Paratroop unit to break down in the correct location on the map. anywhere else you will not see the command.
Actually the way to stop it was to remove the Home and Visitor access from the reveal map, so the buttons that reveal the pieces work for the original owner but they have no actual control on the map itself.