PDA

View Full Version : Fade scripts


Demongo
08-28-2009, 03:03 PM
Can anyone give me a script that will do this:
Turn the screen black for about two secs, then continue the dialog.

Thanks in advance.

jamezy91
08-29-2009, 11:15 AM
Can anyone give me a script that will do this:
Turn the screen black for about two secs, then continue the dialog.

Thanks in advance.


From what you've posted this should work


void main() {

//This will fade to black
SetGlobalFadeOut(0.5, 2.0);

//This will fade back in
SetGlobalFadeIn(2.5, 2.0);

}


This should fade to black for 2 seconds then fade back in.
Hope this helps :thmbup1:

Demongo
08-29-2009, 12:00 PM
Yes it worked! Thank you:D