I was thinking if it is possible to quickly send your hero back to the fountain by pressing a hotkey or something. This would be really useful when playing micro heavy heroes like Meepo or Chen.
In dota 2, to be able to go back to the fountain with any heroes you need to own either a TP Scroll or Boots of Travel. If you have one of those in your inventory you can double tap the hotkey of the inventory slot to teleport to fountain. Hotkeys for inventory slot can be set in the parameters menu.
If your question concerns the action "Walk back to the fountain", there are none such command (unlike courier who has a "back to the fountain" action).
I tried to make a quick script here it is:
If anyone could improve or find a solution to these drawbacks, I'd much appreciate it. Hope it helped you. Edit: Replace "k" with the button of your choice.
I improved User56743's script a bit (removed the drawbacks):
Defining leftclick, position of fountains and hero
Defining what happens on buttonpress(
this code moves the camera to the desired fountain, leftclicks where the mouse currently is and moves the camera back to the hero without sticking to it.
the onpress (+) and onrelease (-) parts are important in this code because the execution of the