Page 1 of 1
Is there a hotkey or click for your capitol?
Posted: Wed Mar 04, 2020 4:52 pm
by MarkShot
Previously, in AGEOD games you could return to your capital by clicking on your flag in the top left hand corner. Is there something analogous for this game?
Thanks.
Re: Is there a hotkey or click for your capitol?
Posted: Wed Mar 04, 2020 7:08 pm
by MarkShot
If anyone is interested, this small amount of AHK code makes the HOME key do exactly that:
#NoTrayIcon
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
SetTitleMatchMode 3
#SingleInstance force
#Persistent
Sleep, 30000
SetTimer, ScriptDone, 100
Return
ScriptDone:
IfWinNotExist,FieldOfGloryEmpires,
ExitApp
Return
#IfWinActive,FieldOfGloryEmpires,
; Go to capitol
Home::
Send k
Sleep 250
MouseMove, 426,817, 0,
Click
Sleep 250
Send c
Sleep 250
Send {Escape}
Return
Re: Is there a hotkey or click for your capitol?
Posted: Thu Mar 05, 2020 4:38 am
by Bullseye500
Good post Markshot. Thanks.
Re: Is there a hotkey or click for your capitol?
Posted: Thu Mar 05, 2020 5:19 am
by MarkShot
Note that is 1080p as I am generating a click event. If you are not at that res, you just need to location of the go to region button from diplo UI.
Basically,
1) Call up diplo UI
2) Call up region UI which will be the capitol
3) Clear the region UI
4) You have jumped to your capitol