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!
|