In League, you can hold Shift as you press a hotkey to 'smartcast' the associated ability. This skips over the target-and-click phase and instead instantly casts the ability toward the position of your mouse cursor.
Is there any way to implement this kind of functionality in Starcraft 2? AFAIK, the only way to get a mouse cursor position is through a trigger that reacts to clicking.
I just setup a cursor that tracks when players move the mouse, and stores the mouse world-location in a variable. Then made a dummy ability with no target & transient that activates a second trigger to order the real ability to be cast at the mouse's point.
Another question though - is there a way to set an ability to be a combined hotkey, like shift-R? Or would I have to settle for a separate button?
In League, you can hold Shift as you press a hotkey to 'smartcast' the associated ability. This skips over the target-and-click phase and instead instantly casts the ability toward the position of your mouse cursor.
Is there any way to implement this kind of functionality in Starcraft 2? AFAIK, the only way to get a mouse cursor position is through a trigger that reacts to clicking.
@Buswolley: Go
Never mind, I did this in, like, twenty minutes.
I just setup a cursor that tracks when players move the mouse, and stores the mouse world-location in a variable. Then made a dummy ability with no target & transient that activates a second trigger to order the real ability to be cast at the mouse's point.
Another question though - is there a way to set an ability to be a combined hotkey, like shift-R? Or would I have to settle for a separate button?
@Buswolley: Go
Can you show me the Map , Maybe I can help with the Hotkeys