Jump to content
Sign in to follow this  
[lol]clan killer bee

Time settings !

Recommended Posts

Hi guys !

I need some help for my mission !

I have in my mission 2 parameters !

1 of them is this one !

Quote[/b] ]titleParam1 = "Time of Day:";

valuesParam1[] =

{0,12,18.3};

defValueParam1 = 0;

textsParam1[] =

{

"Day","Night","Morning"};

In the init I have this !

Quote[/b] ]skiptime param1

This all works no problem !

because I have 1 intro and 2 outro's (win & loose)I need to set times so you can see it at a special time !

for the outro's no problem because after it the mission finishes so I use the

Quote[/b] ]SkipTime (20 - DayTime)

The intro is doing my head in because I need to play it durring the daytime !

that is fine if your playing durring the day, but durring night you can't see jack .

The problem is that if I use

Quote[/b] ]SkipTime (12 - DayTime)

and the intro is done the time of the mission is than also 12!

How can I make it that the time is setback to the time of the mission ?

Thanks !

Share this post


Link to post
Share on other sites

errrrrm, sure you actually sets the time back to what it should be after the intro?

You should give more info, but what I think is that you sets the time at the start in the init, then sets the time again in the intro, but not back after the intro...there ain't really any use setting the time in the init if you set it back to daytime in the intro...

Share this post


Link to post
Share on other sites

Well I have solved it !

Maybe there is someone who likes me! wink_o.gif

Took me over 16 hour but .

Here is goes for th eones who want to know !

1: Put the parameter in the .init !

Quote[/b] ]skiptime param1

2: Put in the intro.sqs the line (in my case)

Quote[/b] ]SkipTime (12 - DayTime)

this reverse to the time of day in the intro that you want .

P.s This intro has no on/off parameter but think you can use it !

Because you have added a line in the init (think though that your day will be night and night will be day )

3: Add this line on the end of the intro.sqs

Quote[/b] ]SkipTime (param1 - DayTime)

(This is the reason why the intro on/off will not work because you have to ajust the parameternumbers to the time you have set in the begin of the intro.)

4: Ajust the time of the parameter !

Thanks for the help guys and brainstorming !

Special thanks to Deanos Benos/old man of hoy and Supher for the solution ! tounge_o.gif

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  

×