Fulqrum Publishing Home   |   Register   |   Today Posts   |   Members   |   UserCP   |   Calendar   |   Search   |   FAQ

Go Back   Official Fulqrum Publishing forum > Fulqrum Publishing > IL-2 Sturmovik: Cliffs of Dover > FMB, Mission & Campaign builder Discussions

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #14  
Old 04-29-2011, 08:42 AM
Flashman Flashman is offline
Approved Member
 
Join Date: May 2010
Posts: 109
Default

Hi Guys, im having some fun with this scripting business and have finally got a script that works, however I could do with some help with the timing commands:

I know that 1800 ticks = 1 minute but im not entirely sure what these two number cause to happen. From my script file:

if (Time.tickCounter() % 126000 == 18000)

When this counts down a mission is launched but im unsure as to the significane of the two timings:

does the 126000 give the time between each repeat operation of the operation?

I have found the second number, 18000 in this case appears to set the time for the first operation. Is this correct?

SO, if i want the operation (in this case a mission starts within themain mission and planes spawn) to repeat every 2 hours, but the first operation is 10 minutes after the main mission begins would this be correct?

if (Time.tickCounter() % 216000 == 18000)

Thanks!
Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 05:03 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright © 2007 Fulqrum Publishing. All rights reserved.