mob/kenny
Click()
src.overlays+='blood.dmi'
usr<<"YAY!!! You hit [src]!"
usr.score+=1
del src
all it does is deletes the mob
then I try
mob
Click(mob/M as mob)
M.overlays+='blood.dmi'
del M
usr<<"YAY!!! You hit [M]!"
usr.score+=1
and it says
YAY!!! You hit the turf!"
and doesn't delete the mob
ID:261266
Nov 22 2001, 5:51 am
|
|
In response to Sariat
|
|
Sariat wrote:
Air _King wrote: > mob/kenny And, please, dont double post these problems. I deleted the one in newbie central. thanks this works!!! mob Click() step(src,0) src.overlays+='blood.dmi' sleep(2) src.overlays-='blood.dmi' usr<<"YAY!!! You hit [src]!" usr.score+=1 del(src) |
And, please, dont double post these problems.
BTW, This code is untested.
-Sariat