ID:149341
 
proc/checkdeath()
if(src.health<=0)
src.icon='wall.dmi'
src.icon_state="rubble"//rubble wall
src.density = 0
src.opacity = 0
else
return..()
With this code it doesnt change the icon state instead the HP keeps going lower
In procs like that, I don't think you need to return anything. Take out the whole else { } statement and see if it works.
In response to Nova2000
nope it still keeps the same icon_state
Change src to usr, it might work.





Shun Di, Out
In response to Charlesisdapimp
Charlesisdapimp wrote:
nope it still keeps the same icon_state

go to Game Listing, hit search, type in RaeKwon, download RaeKwon Demo, it will tell you exactly for the death check.
- TheWizard