I actually managed to get my marine to face the angle you look when he shoots with 2 simple trigger actions. One problem however, the unit damages any unit in a region. How do I make the unit deal damage to only where it looks? What I did was make the unit face the pitch and yaw of the camera in the same trigger as click to shoot.
I actually managed to get my marine to face the angle you look when he shoots with 2 simple trigger actions. One problem however, the unit damages any unit in a region. How do I make the unit deal damage to only where it looks? What I did was make the unit face the pitch and yaw of the camera in the same trigger as click to shoot.
http://forums.sc2mapster.com/resources/tutorials/1626-trigger-how-to-target-with-mouselook-tracelines/ should help you, i can give you a GUI version that i made if you want