Begin YourFadeOutScriptShort stateFloat timer ;timers always need to be a float variable because seconds are counted in decimal pointsIf ( state == 0 ) FadeOut 2 ;the number is the seconds it takes to fade the screen completely to black Set state to 1Elseif ( state == 1 ) Set timer to ( timer + GetSecondsPassed ) ;to make it stay black for as long as you need before fading back in. Make sure this is longer than the seconds it takes to fade out. If ( timer > 4 ) ;adjust for however many seconds you need FadeIn 2 Set state to 3 EndifEndifEnd
Fadeto 100 2.0Fadeto 0 3.0