Instant Spell Switching AHK Macro Script

Hogwarts Legacy Mods |

Instant Spell Switching AHK Macro Script

16 different hotkeys for all 16 available spell slots.
A very simple AHK script that lets you cast all 4 rows of your spell sets with one button instead of spell set button + 1/2/3/4.

Normally you have to press F2(or cycle up/down) then 1 to cast Spell 1 in your Spell Set 2 and then you have to press F1 then 1 to cast Spell 1
in your Spell Set 1 again.
This script makes it so you can just press ` to cast Spell 1 in your Spell Set 2 and press 1 to cast Spell 1
in your Spell Set 1 without ever pressing F1 or F2 or cycling up and
down with your scroll wheel.
Instead of two keypresses it is now condensed into one keypress.

Rebind Revelio and the Spell Selection keys in-game, and it also requires 2 extra mouse buttons but you can rebind them all to something else if you want.

Changes:
1 = F1+1
2 = F1+2
3 = F1+3
4 = F1+4
` = F2+1
5 = F2+2
6 = F2+3
7 = F2+4
R = F3+1
T = F3+2
Extra Mouse Button 1(Back) = F3+3
Extra Mouse Button 2(Forward) = F3+4
F1 = F4+1
F2 = F4+2
F3 = F4+3
F4 = F4+4

To rebind:
Install AHK, I use v1 not v2.
Edit/open the .ahk script with notepad
*1:: ; this is the key that you will press, for this instance this is a macro to cast your first spell in spell set 1
Send, {F1} ; spell set 1 key
Sleep, 10 ; 10 millisecond delay before pressing {1}
Send, {1} ; cast spell 1 key
return
Key List
Key Names

For AZERTY or any other keyboard layout you have to use the scan codes:
² = ` = SC029
& = 1 = SC002
é = 2 = SC003
” = 3 = SC004
‘ = 4 = SC005
( = 5 = SC006
– = 6 = SC007
è = 7 = SC008


Credits: Micchannn
This content was uploaded by website visitors. If you notice any mistake, please let us know.




Useful Information:
- How to install Hogwarts Legacy Mods
- Hogwarts Legacy System Requirements
- About Hogwarts Legacy Game

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *