mob/verb/Explode()
usr.locked = 1
Bump()
src.HP -= 35
Expload()
sleep(10)
locked = 0
=/... it only attacks the user for that much damage... And I want to make it to attack anything that bumps obj/explode...
Oh, yeah...
proc
Expload()
for (var/turf/X in range(src,1))//If it is withing 3 tiles of the "Explosion"...
X.overlays+=/obj/explode
spawn(10) X.overlays-=/obj/explode
Thanks to person who made the Explosion Demo ^_^ I just editted it a little bit.
Help will be appreciated :P Thanks
I don't see what the point is though in deliberately misspelling the proc just so it doesn't match the verb. I'd call it CreateExplosion() instead of Expload(). Right now you have a proc and a verb which but for the spelling thing have the same name; that'll only cause confusion down the road.
Lummox JR