ID:150707
 
Hey, me again. I have been wondering for a while how to do this, and I checked the s_Missile library. It's not what I am looking for. I am not sure if the hard coded missile() code is what I need or not but all I need is when a player shoots it shows a icon going from square to square till it hits something, if it hits a mob then do damage a wall then do nothing. Thanx for any help, :).
Hey, me again. I have been wondering for a while how to do this, and I checked the s_Missile library. It's not what I am looking for. I am not sure if the hard coded missile() code is what I need or not but all I need is when a player shoots it shows a icon going from square to square till it hits something, if it hits a mob then do damage a wall then do nothing. Thanx for any help, :).

s_missile does exactly that.

Create an object type... /obj/bullet
Shoot that bullet at a target; s_missile(/obj/bullet,usr.loc,src.loc,1,1)
Modify the /obj/bullet/Bump(atom/O) to handle players and walls.