Jump to content
Sign in to follow this  
circassian

How to make the time pass faster in a trigger?

Recommended Posts

Hi guys,

There were a mission in red hummer when you were asked to be in position and make some defenses and hold position till support arrives, and when you finishing preparing your defenses, you call a radio that's you are ready, then this script works

cutText ["","BLACK OUT"]

all that and you are at the afternoon, and when

cutText ["","BLACK in"]

you are at evening

How to do a time pass script?

Share this post


Link to post
Share on other sites

There's a command, skipTime, that allows you to skip ahead 8or back, with negative values) in time

Share this post


Link to post
Share on other sites

The exact effect where the sun moves uses a loop code using the skipTime command multiple times. It goes like this:

#loop1
_i = _i + 1
skipTime 0.015
~0.1
? _i > 90 : goto "end1"
goto "loop1"
#end1

titleCut ["","BLACK IN",5]

I'm not really sure how much time will this skip, but anyway you can always turn the screen black then use the skipTime command with any number you like and then turn the screen back to normal with the titleCut command after the sun moves.

To increase the time in the loop where it says

? _i > 90 : goto "end1" 

change 90 with a higher number. Have fun!

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  

×