shoot()
var/obj/P = new/obj/bullet
P.icon_state = "bullet"
P.dir = src.dir
P.loc = src.loc
walk(P,src.dir)
Bump(P)
del src
I'm trying to check for a collision, but I can't have it check under the item or I'd have to rewrite my entire game. Is there some way I can have it check for bump under the shoot verb?
Copyright © 2024 BYOND Software.
All rights reserved.
Just make the bullet's bump delete the bullet.