Hello all, and thank you for visiting this question!
I am creating a map where players can choose different abilities for their heroes.
I know how to track pressed keys from the keyboard. I want that when a certain button is pressed, the hero will start directing/take aim with the ability (select target menu) as if the player clicked the mouse on this ability before using it. (In general, this is something like custom hotkeys)
Can anyone suggest to me a method or function to do this? (JASS/LUA doesn't matter)
Note: the ability that I want to aim is on the hero and does not have a hotkey
Thanks in advance for any help!
I am creating a map where players can choose different abilities for their heroes.
I know how to track pressed keys from the keyboard. I want that when a certain button is pressed, the hero will start directing/take aim with the ability (select target menu) as if the player clicked the mouse on this ability before using it. (In general, this is something like custom hotkeys)
Can anyone suggest to me a method or function to do this? (JASS/LUA doesn't matter)
Note: the ability that I want to aim is on the hero and does not have a hotkey
Thanks in advance for any help!