Jump to content
Sign in to follow this  
rick rawlings

Creating a blackout pause in the middle of a mission.

Recommended Posts

I am trying to fade to black and fade back in during a mission to simulate loading weapons and ammo on a truck. This is what I have so far:

titlecut ["", "Black Out", 5];
ammo1 attachTo [car,[0,-1.7,0]]; 
titlecut ["5 Minutes later", "Black In", 5];
exit 

I get a flicker of black and the "5 minutes later" and bam! I am back in the mission. I have tried something like:

titlecut ["", "Black Out", 5];
ammo1 attachTo [car,[0,-1.7,0]];
~10; 
titlecut ["5 Minutes later", "Black In", 5];
exit 

and I get the same effect, just a moment of black. This happens with sleep as well. I have also tried something like:

titlecut ["", "Black Out", 5];
waitUntil z;
ammo1 attachTo [car,[0,-1.7,0]]; 
titlecut ["5 Minutes later", "Black In", 5];
y=true;
exit 

with a separate trigger conditioned to y that countsdown 10 sec and then makes z true, but then the whole effect waits for 10 seconds to give me a moment of black. I have also broken it up into two scripts where the first one just fades out and then the second one, after a countdown of 10 runs everything else. Anyone have a good way to get a solid 5 seconds of black in the middle of a mission?

Thank you,

RR

Share this post


Link to post
Share on other sites

This was supposed to be in the ARMA2 and OA editing forum. Could a mod move it please?

Thank you and sorry for the error!

RR

Share this post


Link to post
Share on other sites

Sleep should work. My guess is that you are trying to execute an SQF script with exec rather than execVM. Use execVM.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×