Jump to content
Sign in to follow this  
lolzcoolcat

Tower Stacking / AutoHotkey script

Recommended Posts

How to Tower stack without AutoHotkeys (Plane's Tutorial)




Now if you bad like me and cant do this AutoHotkeys can help achieve this.


Where to download AutoHotkeys  https://autohotkey.com/download/


How to use AutoHotkeys.

•1. Right-Click on your desktop.

•2. Find "New" in the menu.

•3. Click "AutoHotkey Script" inside the "New" menu.

•4. Give the script a new name. Note: It must end with a .ahk extension. Example. MyScript.ahk

•5. Find the newly created file on your desktop and Right-Click it.

•6. Click "Edit Script".

•7. A window should have popped up, probably Notepad. If so, SUCCESS! 

•8. Save the File.

•9. Double-Click the file/icon in the desktop to run it. Open notepad or (anything you can type in) and press Ctrl and J.

•10. Hip Hip Hooray! Your first script is done. Go get some reward snacks then return to reading the rest of this tutorial.


This is the script to stack towers! (again plane's script)  

^6::

    SendInput {6} 

    SendInput {Space}

return

^7::

    SendInput {7} 

    SendInput {Space}

return

^8::

    SendInput {8} 

    SendInput {Space}

return

^9::

    SendInput {9} 

    SendInput {Space}

return

^0::

    SendInput {0} 

    SendInput {Space}

return



To use this script in game place for example if you want to stack lighting towers.

•1. Place down lighting tower where you want to stack them.

•2. Hit ctrl and the number that lighting tower is on for you ( for me it is Ctrl 6)

•3. Boom you just stacked a lighting tower you can do this as much as u want if you have du and mana and with any tower you want.



Note: if you see this error and it is not working just delete it out of the script and try again.


#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.

; #Warn ; Enable warnings to assist with detecting common errors.

SendMode Input ; Recommended for new scripts due to its superior speed and reliability.

SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.

Share this post


Link to post
Share on other sites

hey, love this but getting nowhere with the instructions were do I insert the script?


 do I delete or change any thing in the file already i as I placed in the script into the file saved it out run it then opened notepad and press ctrl j and nothing happened so I checked the game regardless and sadly nothing had changed. would be good if i could grab your help

Thanks in advance Dex


Script dump below


#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.

; #Warn ; Enable warnings to assist with detecting common errors.

SendMode Input ; Recommended for new scripts due to its superior speed and reliability.

SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.


^6::


    SendInput {6} 


    SendInput {Space}


return


^7::


    SendInput {7} 


    SendInput {Space}


return


^8::


    SendInput {8} 


    SendInput {Space}


return


^9::


    SendInput {9} 


    SendInput {Space}


return


^0::


    SendInput {0} 


    SendInput {Space}


return

Share this post


Link to post
Share on other sites

missed a few things this made things a little more clear at least to me hope it helps

How to Set-up AutoHotkeys.



•1. Download the app from the link above and install it


•2. Right-Click on your desktop.


•3. Find "New" in the menu.


•4. Click "AutoHotkey Script" inside the "New" menu. (if not here restart your machine)


•5. Locate the new script on your desktop and right click to rename it, Give the script a new name. Note: It must end with a .ahk extension. Example. MyScript.ahk


•6. Find the newly created file on your desktop and Right-Click it.


•7. Click "Edit Script".


•8. A window should have popped up, probably Notepad. If so, SUCCESS! 

 copy the following into your script under anything that may already be in the file


 ^6::


     SendInput {6} 


     SendInput {Space}


 return


 ^7::


     SendInput {7} 


     SendInput {Space}


 return


 ^8::


     SendInput {8} 


     SendInput {Space}


 return


 ^9::


     SendInput {9} 


     SendInput {Space}


 return


 ^0::


     SendInput {0} 


     SendInput {Space}


 return



•9. Save the File.


•10. Right-Click the file/icon on the desktop and select compile we are nearly ready to run it. 


•11.A new icon with the same name as your script will appear, Double click to run it.


•12. Hip Hip Hooray! Your first script is done. Go get some reward snacks then return to reading the rest of this tutorial.




To use this script in game place for example if you want to stack lighting towers.


•1. Place down lighting tower where you want to stack them.


•2. Hit control and the number that lighting tower is on for you ( for me it is Ctrl 6 ,9 by default)


•3. Boom you just stacked a lighting tower you can do this as much as u want if you have du and mana and with any tower assigned to 6,7,8,9,0.

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...