obj
bullet
icon = 'bullets.dmi'
layer = 5
density = 1
New()
if(istype(usr,/mob/Player/Red_Team/))
src.icon_state = "red"
else
src.icon_state = "blue"
Bump(atom/M)
if(istype(M,/turf/wall/bwall))
if(istype(usr,/mob/Player/Red_Team/))
usr << "you shot the blue wall"
else
return
if(istype(M,/turf/wall/rwall))
if(istype(usr,/mob/Player/Blue_Team/))
usr << "you shot the red wall"
else
return
if(istype(M,/obj/bullet))
loc = M.loc
return
loc = M.loc
spawn(1)
del(src)
Problem description:
For some reason its not doing anything when the bullets are bumping into walls. Anyone see what could be wrong?
Lummox JR