ID:167359
 
how do i get it so if my char touches the boss he dies?
i am very unexperienced in this field but i think you use bump() so when u bump into him and del() so his mob gets deleted
In response to Mxjerrett
wait i think i worded it wrong im trying to get it so if my char touches the boss my char dies.

 Bumped(mob/M)
usr = dead

i tried adding that into the code but it didnt really work =P
In response to Kerep
mob/Bump(var/atom/movable/a)
if(istype(a,/mob/boss))
var/mob/M=a
src.hp=0// The bumper's health all the way down
src.DeathCheck(M) // Call your deathcheck, src being the one dying and M being the killer.
In response to Mysame
yay it worked. thx for the help