I've previously done a similar thing... Here's the 2 lines of code I used:
// Turn on UTIL_ScreenFade( m_pPlayer, Vector(50,50,50), 0, 5, 200, FFADE_STAYOUT); // Turn off UTIL_ScreenFade( m_pPlayer, Vector(50,50,50), 0, 1, 200, FFADE_OUT); I think you'll find the problem is you are using FFADE_IN to remove the STAYOUT effect, which won't work... you need FFADE_OUT. Mike. ----- Original Message ----- From: "Cortex" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, April 30, 2002 7:34 AM Subject: [hlcoders] UTIL_ScreenFadeAll > Hello, > > I'm having trouble with this function :( > I wanted to fade the screen juste before a round ends. So, I put this on the > right place : > > UTIL_ScreenFadeAll ( Vector(0,0,0), 3, 1, 255, FFADE_OUT | FFADE_STAYOUT ); > > But, I want that the screen returns to his normal state ! So, I put this in > an other function : > > UTIL_ScreenFadeAll ( Vector(0,0,0), 3, 1, 255, FFADE_IN ); > > The problem I have is that the FFADE_IN effect doesn't work... If I set > it a green color (for test purpose only :) ), the green stays all the time > at the screen (so, it does the same with the black). It's really annoying > for gameplay LOL > > It must be a big error from me but I can't figure it me out :( Does anyone > see it ???????? > > - Cortex : mapper & coder www.hlalbator.fr.st > > > _______________________________________________ > To unsubscribe, edit your list preferences, or view the list archives, please visit: > http://list.valvesoftware.com/mailman/listinfo/hlcoders > > _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders

