I wanna change the character's icon to the sad state in the animal.dmi if their happiness is below 95, but no matter how I put it, I can't get it to work.
proc/healthdown()
if (happy < 95)
usr.icon = New('animal.dmi',icon_state ="sad")
ID:149346
May 18 2002, 3:34 am
|
|
May 18 2002, 6:22 am
|
|
Well, for one thing, is your first icon in the animal.dmi file?
|
Likwiddraino000 wrote:
I wanna change the character's icon to the sad state in the animal.dmi if their happiness is below 95, but no matter how I put it, I can't get it to work. hmm I think you need to do something like this. proc/healthdown() if (src.happy < 95) src.icon =animal.dmi' src.icon_state ="sad" |
In response to Drafonis
|
|