ID:172386
May 19 2004, 12:40 pm
|
|
obj/Projectiles Arrow icon='Projectile.dmi' icon_state="Arrow" density=1 Bump(var/mob/M) if(ismob(M)) M.Hp -= 10 M.HPRefresh() M.Death(M) del(src) ok my question now is when this bumps this turf here i get a runtime turf/Spawnblocks/BlueBlock Enter(mob/M) if(M.Team=="Red") return 0 if(M.Team=="Blue") return ..() I was wonding if there was a check that i could put in that would del the arrow when it hits this turf.The runtime if it helps.. runtime error: undefined variable /obj/Projectiles/Arrow/var/Team proc name: Enter (/turf/Spawnblocks/RedBlock/Enter) source file: Turfs.dm,8 The arrow just sets right in front of the turf and runtimes over and over.Thanks in advance I forgot and it does this when it hits areas also |
May 19 2004, 12:43 pm
|
|