ID:173838
 
how do i make fade in and fade outs on proc or loc teleport. i tried seeing the rgb function but it doesn't seem to work.
Add a obj called "FADE" to the user's whole client screen, When you fade out just do this: for(var/obj/FADE in usr.client.screen) and change the icon_states so it fades, then change the icon states to go back to normal then teleport using usr.loc = locate(X,Y,Z)

I'm too lazy to code this, But you should.

Siientx
In response to Siientx
You only need one, really. Just set it's screen_loc variable so that it covers your entire screen.
In response to Garthor
I know. Thats what i meant. screen_loc = "1,1 to 10,10"

Siientx