mob
var/movement=1
Move()
if(!movement)return
..()
mob
Move()
if(frozen==1)
overlays+='paralyzed.dmi'
movement=0
sleep(40)
overlays-='paralyzed.dmi'
movement=1
frozen=0
proc/deathcheck(mob/M as mob)//handles death
if(M.Health<=0)//checks health
if(M.client)//if is a player
M.frozen=0
M.snare=0
M.overlays-='paralyzed.dmi'
M.overlays-='snare.dmi'
M.movement=1
//rest of my death stuff
Problem description:
Problem is when you die while paralyzed, sometimes you come back due to some random glitch. And when you dont die you still glitch around the screen, like a laggy movement. Anyoen know whats wrong?? I tried to reset eveything in death but that didn't seem to help much.
You could add something so if they die while paralized they don't come back, or die, whatever it is you're meaning for it to do.