ID:1885250
 
(See the best response by Sphinxe1.)
Can anyone give me some insight on how id go about making a shooting system in which you click and shoot in the direction you click?
Best response
client
MouseMove(object,location,control,params)
src.mob.dir=get_dir(src.mob,location)

Click(object,location,control,params)
var/obj/pellet/P = new /obj/pellet
P.loc=src.mob.loc
walk(P,src.mob.dir,0,0)
Awesome, thanks a bunch guys!