Frictional Games Forum (read-only)

Full Version: StartEffectFlash syntax incorrect?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
If this question has been asked before, apologies, I ran a search and didn't find any mention of it before.

The wiki says this is the syntax for StartEffectFlash: (float afFadeIn, float afWhite, float afFadeOut);

However, the last float seems to control both the fade-in and fade-out and the other two floats don't seem to do anything at all. I'm trying to get the screen to fade completely to white in 5 seconds and then turn back to normal instantly. So what's the problem with this?
That function has always worked like that as far as i've known it. If you don't mind the slight darkness in the beginning, you can try:
PHP Code:
FadeOut(0);
StartEffectFlash(050);
FadeIn(5); 
I tried that, but the screen goes instantly white, lasts for 5 seconds, and then instantly goes back to normal again. So there doesn't seem to be any way to have different times for fading in and out?