ID:165724
 
Well, here's the problem...
Whenever I use atom/MouseDrag() for rapid-fire (weapons), when I drag the mouse, the mob keeps shooting the same atom I clicked.
How can I make it so that, when MouseDragging, it actually shoots on the tile you're dragging?
Make it like src.Firing = MouseDrag
I would suppose but unsure.
~Grand~
I believe it would involve checking the mouses position every time it fires a shot, which sounds very CPU intensive for online gaming.

§atans§pawn
Gooseheaded wrote:
Well, here's the problem...
Whenever I use atom/MouseDrag() for rapid-fire (weapons), when I drag the mouse, the mob keeps shooting the same atom I clicked.
How can I make it so that, when MouseDragging, it actually shoots on the tile you're dragging?

What are you checking for? You might want to check for atom/turf with the mouse drag command, and when bullets fly check for mobs or objs on the turf... Just and idea.