ID:148393
 
heres a proc that creates a screen fade effect

mob/proc/Fade_In()
var/client/C
for(var/area/A in view())
if(src.client)
C = src.client
else

return
C.images-=A.S
C.images+=A.R
sleep(1)
C.images-=A.R
C.images+=A.E
sleep(1)
C.images-=A.E
C.images+=A.P
sleep(1)
C.images-=A.P

My question is, is there anyway that the image isnt put on the areas, because it does it seperately for each area and it looks bad. i want it to do it at the same time. I was thinking replacing something like the clients screen. If anyone can help..please do


ETG
instead of this.....

for(var/area/A in view())

I would like for everything in client's screen.. And id like for this to all happen at once. When i do it for each area, It does it to each area separately..and with enough time seperation to be noticeable.

If anyone can help with my problem. Since i didnt get any answers the first day im offering 20 dimes for the help.

ETG


In response to Erdrickthegreat2
NVM figured it out.. I figured that instead of calling this procedure all at once for one area.. I decided to make a proc for each image so that it would do it for each area at once. then call the next image for each area..