OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Bobthealmighty on 23 Apr 2004, 18:57:52

Title: Fade out and then in
Post by: Bobthealmighty on 23 Apr 2004, 18:57:52
Is there anyway i make the mission "fade out" to a black screen and then "fade in" some time later?
Title: Re:Fade out and then in
Post by: Loup-Garou on 23 Apr 2004, 20:48:10
For "fade out" to a black screen, type in your .sqs file : titlecut ["","BLACK OUT",X]

"X" is the length (in seconds) for screen getting black.

"Some time later" : use "~X" (X : in seconds) in  your script in order to make a "pause" before the "fade in" .

For "fade in", I presume (never tried  :P) it's : titlecut ["","BLACK IN",X]
Title: Re:Fade out and then in
Post by: Planck on 23 Apr 2004, 20:55:18
Does titleCut still work?

I'll have to try it some time.
The Command Reference says it is obsolete.

There is an alternative though, just in case it doesn't work.

cutText instead of titleCut.


Syntax is the same I think.


Planck