Turn Counter Global Hotkey fired when the turn changes

Hello,

I want fo fire a Global Hotkey everytime the value of turn counter changes, but I don’t know the correct syntax to use in the property box.

Many thanks.

Panther_2010

:wink:

Right click on your main Turn Tracker component and pick “Add Global Hotkey”. In the box that appears, put the key you want in the “Global Hotkey” field (in my example I have it generate the “End” key).

That hotkey will now fire whenever the turn tracker is advanced.

If you want to do additional processing on it, you could have the hotkey get picked up by e.g. a Global Key Command button to send a Global Key Command to various pieces, etc. The last example shows a Global Key Command I set up to receive the “End” hotkey and send a Ctrl+T to various pieces on the map that I want to know about the change.

image

image

1 Like

Hello Cattlesquat,

I apologize for the delay in answering you, but I was blocked by a hard disk crash that forced me to reinstall the operating system and all the software on a new hard disk.

Thank you for the suggestions which, unfortunately, did not solve my problem.

I see to clarify the real nature of this problem better: I have already been using HK (turns) in tandem with one or more GKCs, but so far the HKs are activated at the beginning of a given Game Phase and never at the end of an entire turn .

What I can’t find is the correct syntax to enter in the Match Properties box to activate the HKs at the end of each full turn. If no conditions are entered, the HK is performed every time a Game Phase changes and not only at the end of the entire turn.

Thanks for the support.

Panther_2010

Assuming your turn phases look like below:
Spring
Summer
Fall
Winter

And you want to trigger something after Winter completes, I suggest setting your matching property to “Spring” (i.e., it will trigger when you finish the final phase and advance to next turn).

Alternatively define a dummy phase “End of Turn” and set that to be the matching property.

If you want an example look at the “Europe Engulfed” module - specifically at the END OF YEAR hot key.

1 Like

Hello Korval,

sorry to be late in reply but I’ve been rather busy in this last period of time.
My turn is much more complex , with a lot of phases and subphases, but, in any event, both your suggestions can work. I prefer to add a dummy phase “Enf of Turn” and this should resolve the problem.

Be well.

Panther 2010