[DiscordArchive] Is it possible to schedule an event to happen f...
[DiscordArchive] Is it possible to schedule an event to happen f...
Archived author: Drikish • Posted: 2024-12-19T00:08:51.650000+00:00
Original source
Yeah thats a good point
Archived author: Drikish • Posted: 2024-12-19T00:09:18.824000+00:00
Original source
Unless it can be done another way more solidly just using maths
Archived author: stoneharry • Posted: 2024-12-19T00:09:40.334000+00:00
Original source
why not `mapCurrentTime += (diff * 6)`
Archived author: Drikish • Posted: 2024-12-19T00:09:43.092000+00:00
Original source
Store the current time on creation then calculate what the difference between what it was and what it should be based on the current time?
Archived author: Drikish • Posted: 2024-12-19T00:10:21.643000+00:00
Original source
aka if its 5:00 and its 5:05 then it should be like 5:55 in game kinda thing, just multiplying by the difference?
Archived author: Drikish • Posted: 2024-12-19T00:10:33.019000+00:00
Original source
5:00 on map create, 5:05 current time
Archived author: stoneharry • Posted: 2024-12-19T00:10:59.182000+00:00
Original source
well my math is wrong because I'm tired and about to sleep, but basically you want to use the diff
Archived author: Drikish • Posted: 2024-12-19T00:11:27.011000+00:00
Original source
I see what your doing there thats actually smart o.O
Archived author: stoneharry • Posted: 2024-12-19T00:11:29.525000+00:00
Original source
so if you want time 6x faster you need to * 6 to make each diff 600% longer
Archived author: Drikish • Posted: 2024-12-19T00:11:35.695000+00:00
Original source
Yes