Make Unit Face Mouse direction

PrisonLove

Hard Realist
Reaction score
78
So, is it possible to make unit always face toward the player's mouse? I want to implement a system where when a player clicks and hold the right mouse button, his hero unit will run toward the mouse, even if the mouse is moving on screen. Left click would cause and attack.

So can I always track the position of the mouse in relation to the player's unit to cause this effect? The movement system would be something like the game Nox (blast to 90s woot!) if anyone knows what I'm talking about.
 

Rainther

I guess I should write something of value here...
Reaction score
61
This will be possible in the next major patch I believe.

At the moment you can't track with mouse position all the time and only when you click, and you can't though holding down the mouse button.

In Blizzcon10 they said they will make this possible soon and even confirmed it with a video of an Immortals "head" following the positing of your mouse.
 

PrisonLove

Hard Realist
Reaction score
78
Okay thanks a lot, I guess I'll ask again sometime after the next patch. Any word on when that will be?
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top