ID:146384
 
Problem description:
How do i make it so that when i click on a player it shoots just like when u click on the turf.I have this code so far...:

turf
bang
Click()
missile(/obj/bullet, usr, src)
chang the turf to mob
mob/Click()
missile(/obj/bullet, usr, src)
In response to Jokerjohn
ok but will that still make it shoot at the ground to
In response to FutureTrunks12
Hey that didn't work....Now it wont shoot at anything
In response to FutureTrunks12
well it depends on how your mobs are set up if there just mob or mob/whatever and i haven't really tested ether you can try this one
mob/Click(mob as M)
missile(/obj/bullet, usr, M)

In response to Jokerjohn
Er, you can't use Click like that.
In response to Ol' Yeller
If u cant use click like that how do u do it...I mean i can get it to shoot at the ground but if a guy is standing there u have to aim for the ground and not the guy...Can u make it so if u click then it just shoots. No matter what u are on almost like a macro.