Jump to content
Sign in to follow this  
quincy

how to make it stay day time

Recommended Posts

is there a way to make it stay 12:00 throught my whole mission.

Share this post


Link to post
Share on other sites

you can maybe try and make a use of skipTime and just run a loop every minute setting time back 1 minute.

while {true} do {sleep 60; skipTime -0.0156};

Will sleep 1 minute and skip time back 1 minute then repeat.

Share this post


Link to post
Share on other sites

Don't use skiptime! You will see the clouds jump. Use setDate instead:

while {true; } do {

setDate [2011, 6, 15, 12, 00];

sleep 5;

};

Share this post


Link to post
Share on other sites

Hmmmm this gives me an idea I have a few tasks that I run and in 1 task it would be good to run this mission at night could I use that in MP and suddenly change the time to night for a mission , then once complete change it back would that work ? as i would need everyone to change time as it is MP on Dedi ?

Cheers

Share this post


Link to post
Share on other sites

@psvialli

Yes this will work fine for that.

Using skiptime will be broadcasted to all in MP in ca 30 seconds, see notes on MP of skiptime page, but as Luomu pointed out: skiptime also moves the clouds on the sky, setDate does not, but no wiki explanation on setDate regarding MP.

But for intentional skipping of time, i would just use skiptime as players will see the day go night and clouds moving will not distract anymore than the light disappearing.

SetDate seems to have some more complex ways of executing, but you will not see any clouds moving.

http://forums.bistudio.com/showthread.php?t=103859&highlight=setDate

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  

×