Index

BounceFadeBlack

BounceFadeBlack(<-messageChannel)

Description

Causes the screen to fade to black, then fade back in. While fading, interaction is blocked. When the bounce is complete, the specified message channel will be called.

The whole script runs for 6 seconds. 3 second for fade in and 3 seconds for fade out.

Examples

once
   #Convert the message to a function call, and set it up.
   RegisterForMSG("FadeCompleteMessage" "FadeComplete")
   BounceFadeBlack("FadeCompleteMessage")
endonce
 
:FadeComplete
   Trace("Fade Complete")

Index