ID:264983
 
Well i've got this:

    Background
screen_loc = "1,1"
New() {
var/icon/MyIcon = new('Text Box.dmi', icon_state = "Background")
MyIcon.Scale(256, MyIcon.Height())
src.icon = MyIcon
}

proc/FadeOut() {
for(var/TempAlpha = 255; TempAlpha > 0; TempAlpha -= 85) {
src.icon += rgb(0,0,0, TempAlpha)
sleep(1)
}
src.icon += rgb(0, 0, 0, 1)
}

proc/FadeIn() {
for(var/TempAlpha = 1; TempAlpha < 255; TempAlpha += 85) {
src.icon += rgb(0,0,0, TempAlpha)
sleep(1)
}
src.icon += rgb(0, 0, 0, 255)
}


The FadeOut procedure works fine, but i can't say the same for FadeIn. It's not fading the Text Box.