OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Cedaie on 25 Aug 2002, 15:42:46

Title: Starting mission with black screen to titletext
Post by: Cedaie on 25 Aug 2002, 15:42:46
I have dis script, which in my overlook should work, I want my mission to start with a black screen for 5 seconds, then give me a titletext while still in black screen, then finally black in, anyone???...script below:


titlecut ["","black out",0]
0 fadesound 0.4
0 setfog 0.5
_camera = "camera" camcreate [0,0,0]
_camera cameraeffect ["internal","back"]
_camera camSetTarget [-72871.14,58526.55,-27574.17]
_camera camSetPos [9478.26,8967.88,39.49]
_camera camSetFOV 0.010
_camera camCommit 0
~5
titletext ["Ferris Beuler's day off","plain"]
~10
titlecut ["","black in",5]



anyone??
Title: Re:Starting mission with black screen to titletext
Post by: seanver on 25 Aug 2002, 15:49:18
Edit: I wrote to many stupid things  :-\

I got it: titlecut [" ","black",0.01]

You have to put a different number than 0, like 0.01.
Title: Re:Starting mission with black screen to titletext
Post by: Cedaie on 25 Aug 2002, 16:37:31
its always the easy stuff that boots you in the back afterwards, cheers  ;)