SC2Mapster Forums

Development > Triggers

Make unit face position of the mouse cursor

  • 3 posts
    #1 Dec 14, 2012 at 22:17 UTC - 0 likes

    I can't figure this out. I need my unit to face the direction of the mouse cursor. So if the mouse is to the right of the unit, the unit will face the right.

    #2 Dec 15, 2012 at 02:00 UTC - 0 likes
    Unit - Make (Unit) face (Point((Mouse X position in the world), (Mouse Y position in the world))) over X seconds
    


    #3 Dec 15, 2012 at 02:54 UTC - 0 likes

    @Nebuli2: Go

    Thank you got it working :D

  • 3 posts

You must login to post a comment. Don't have an account? Register to get one!