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
ID:149341
May 18 2002, 3:31 pm
|
|
May 18 2002, 3:58 pm
|
|
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
|
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 |