![]() |
tod command
I am using this in a dogfight mission. I know this script is being run since the time does change on the server machine when I am running the full game version but the client machines are not accepting the time change. The client machines continue to run the unaltered time.
ms = milliseconds 1,000 ms = 1 second 300,000 ms = 300 seconds = 5 minutes 1,200,000 ms = 1200 seconds = 20 minutes Quote:
I have not tested this script in coop mode. Multiplayer mode
Milliseconds to Seconds Conversion calculator (ms to sec): https://www.timecalculator.net/milliseconds-to-seconds Wheels |
Coffee hasn't kicked in yet, but your script will never work because it never gets to later timeouts.
Because every 300000 'tics' it simply sets the time to 8.25. It will never GET to the later times. Use the file command You can set off the loop manually or place it in your rcu. You need however many text files for as many time changes you want. The last file must call the first file. Warning. I have no idea what the syntax is for the chat command, so you may need to change that line in each txt file example below. First file: set the tod to (whatever), then give a timeout to call the next file. Second file: set the tod to (whatever), then give a timeout to call the NEXT file. etc. Last file: set the tod to (whatever), then give a timeout to call the FIRST file. (Completing the loop) Example RCU: Code:
@set fast off Code:
tod 7.50 Code:
tod 14.50 Code:
tod 21.50 Code:
tod 5.50 |
bump as I edited my post
|
All times are GMT. The time now is 08:34 AM. |
Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright © 2007 Fulqrum Publishing. All rights reserved.