Frictional Games Forum (read-only)

Full Version: Flashback?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hey, i was wondering how you made like a "flashback". Like thee screen gets a litle white, like in the original game. Is there a script for it? Smile
A flashback, but you only want the screen effect?
(03-11-2013, 08:59 AM)JustAnotherPlayer Wrote: [ -> ]A flashback, but you only want the screen effect?

Yes, the screen effect and then i think i can figure out how to olay the sound by myself.
Ah. Here it is. Please note that i haven't test it.
PHP Code:
void StartEffectFlash(float afFadeInfloat afWhitefloat afFadeOut); 

Fades the screen to white.

afFadeIn - time in seconds until screen is white.
afWhite - determines to which percentage the screen fades to white (1.0 = completely white)
afFadeOut - time in seconds until screen is back to normal again.

I think you need another script for the sound.