RedKnight Posted September 8, 2017 Share Posted September 8, 2017 I've come round to think the toggle is actually better than a double-click... Well, here's an autohotkey script that makes it work well enough using double-click to run (a la Fallout 2): #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. isRunning = 0 walkToggleKey := "[" #IfWinActive Pillars of Eternity ahk_class UnityWndClass ~LButton:: { if ((A_TimeSincePriorHotkey < 180) && (A_TimeSincePriorHotkey > 0)) { Send {%walkToggleKey%} isRunning = 1 Return } if (isRunning == 1) { Send {%walkToggleKey%} isRunning = 0 } Return } http://www.autohotkey.com/ ... change walkToggleKey to whatever, and turn on walk mode manually just once (otherwise, it'll do the exact opposite -- walk on double-click). It would work slightly better if two more hotkeys existed: WalkMode: On, and a Walk Mode: Off ... but this really does work well enough for me, so I'm happy -- and I could always improve it slightly by using a screen tap if I feel the need. Any chance of adding the option to disable the combat log text upon toggling? Any chance of making this work for Tyranny and the Torment game? 1 Link to comment Share on other sites More sharing options...
hylic Posted December 17, 2020 Share Posted December 17, 2020 (edited) #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. isRunning = 0 walkToggleKey := "[" #IfWinActive Pillars of Eternity ahk_class UnityWndClass ~LButton:: { if ((A_TimeSincePriorHotkey < 180) && (A_TimeSincePriorHotkey > 0)) { Send {%walkToggleKey%} isRunning = 1 Return } if (isRunning == 1) { Send {%walkToggleKey%} isRunning = 0 } Return } So...How the hell do I get this to work? I downloaded Auto Hotkey and made a script file named walk and put this script in it and saved. I've messed around a bit and cant get it to work. What do I do? I just downloaded Pillars of Eternity Definitive Edition from Epic Games and it's like its own version. its like "Epic Games v1.1.3.007," but apparently the latest version, and that really finicky IE Mod just WILL NOT work with this version at all. There are comments about this Epic Games version on the comment section of Nexus for IE Mod, about how it won't work, and my only bet is to use auto hotkey, but I don't know how to get this to work. Can someone explain this for me please? Edited December 17, 2020 by hylic Link to comment Share on other sites More sharing options...
hylic Posted December 21, 2020 Share Posted December 21, 2020 #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. isRunning = 0 walkToggleKey := "[" #IfWinActive Pillars of Eternity ahk_class UnityWndClass ~LButton:: { if ((A_TimeSincePriorHotkey < 180) && (A_TimeSincePriorHotkey > 0)) { Send {%walkToggleKey%} isRunning = 1 Return } if (isRunning == 1) { Send {%walkToggleKey%} isRunning = 0 } Return } Ok, now I just have the normal steam version of Pillars of Eternity and IE Mod is giving me a big error (thread in the modding forum). Can someone please tell me how to make this autohotkey script run?? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now