Wood_Wall
icon = 'Turfs.dmi'
icon_state = "Wood Wall"
Health = 100
density = 1
New()
..()
if(src.Health<=1)
icon_state = "BWW"
it says Health is an underfined var when it is defined.How do i fix it?
ID:270378
![]() Apr 9 2006, 10:06 am
|
|
Wood_Wall it says Health is an underfined var when it is defined.How do i fix it? |
![]() Apr 9 2006, 10:08 am
|
|
can you show us how you defined health
|
use:
var/Health = 100
This declairs Heath as a variable. Otherwise you are just spouting nonsence at the compiler, as far as it can see at least. |