Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ;╔══════════════════════════════════════════════════════════════════════════════╗
- ;║ This is a macro for smoke mines in poe, made by JasonAHK ║
- ;║ It will allow you to press your dedicated smoke mine hotkey to throw it and ║
- ;║ instantly trigger it. Note that this macro absolutely requires AutoHotKey ║
- ;║ to work! ║
- ;╠══════════════════════════════════════════════════════════════════════════════╣
- ;║ IMPORTANT: To use this file be sure to save this file as a ".ahk" and ║
- ;║ not a ".txt" etc. ║
- ;╠══════════════════════════════════════════════════════════════════════════════╣
- ;║ I'll also include a hotkey to teleport to your hideout similar to the ones ║
- ;║ that you find in macros such as the poe trade companion ║
- ;╠══════════════════════════════════════════════════════════════════════════════╣
- ;║ These macros are designed to only be enabled when you are on your PoE window ║
- ;║ So you can freely alt tab and press your smoke mine hotkey without getting ║
- ;║ some annoying texts (ie. pressing e and getting the text: "ed") ║
- ;╠══════════════════════════════════════════════════════════════════════════════╣
- ;║ I can also share my flask macro which activates all flasks with one press ║
- ;║ of a button, if people really want to see it. ║
- ;║ This is the first script I have written for a game, so there might be some ║
- ;║ easy changes an expert can make to make it more simple. ║
- ;║ However I've had zero problems with any of the macros I have written. ║
- ;╚══════════════════════════════════════════════════════════════════════════════╝
- ; In the following line of the script (line 26) you can change the
- ; letter "e" at the start to what ever your smoke mine hotkey is ingame.
- ~e::SmokeMine() ;
- ; You can also alter the "d" on line 34 to whatever your mine trigger button is.
- SmokeMine(){
- if WinActive("Path of Exile")
- {
- Sleep 200
- Send, d
- return
- }
- }
- ; The following script is a hideout macro. You can remove everything from
- ; line 39 and forward if you do not wish to have a macro to enter your hideout.
- ; -----------
- ; Alter the "F2" on line 43 to a hotkey of your liking to change your hideout button.
- F2::Hideout() ;
- Hideout(){
- if WinActive("Path of Exile")
- {
- BlockInput On
- Send {Enter}
- Sleep 2
- Send /Hideout
- Send {Enter}
- BlockInput Off
- return
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement