[DiscordArchive] Is it possible to schedule an event to happen f...
[DiscordArchive] Is it possible to schedule an event to happen f...
Archived author: stoneharry • Posted: 2024-12-18T19:26:59.635000+00:00
Original source
it's hard to give guidance without knowing the full feature and how you intend to use it. Will it only ever be triggered from GM commands, or some core concept for the server?
Archived author: Drikish • Posted: 2024-12-18T19:27:12.857000+00:00
Original source
I'll explain quickly
Archived author: Drikish • Posted: 2024-12-18T19:27:46.497000+00:00
Original source
Full day cycle is 4 hours (2 hours day 2 hours night)
When it hits 2 hours an event is meant to occur called a nightfall, where the game will change basically.
Archived author: Drikish • Posted: 2024-12-18T19:28:10.782000+00:00
Original source
However i want a system where players will be able to trigger one by commiting resources, so need something that can 'force' it to happen
Archived author: Drikish • Posted: 2024-12-18T19:28:32.763000+00:00
Original source
In order for it to be forced and not just send the client a new time of the next 'night cycle' where the client would instantly make the world change
Archived author: stoneharry • Posted: 2024-12-18T19:28:41.374000+00:00
Original source
imo make it map::OnUpdate and control the state in the map class
Archived author: Drikish • Posted: 2024-12-18T19:28:47.080000+00:00
Original source
I wanted to accelerate time during this event rapidly, then when it hits the marker it slows back to normal
Archived author: stoneharry • Posted: 2024-12-18T19:29:21.437000+00:00
Original source
I'll point to an example in the code later
Archived author: Drikish • Posted: 2024-12-18T19:29:45.853000+00:00
Original source
Yeah an example of something similar that I can copy and adapt would be really useful as not quite sure where to look for this / how to set a new one up
Archived author: Drikish • Posted: 2024-12-18T19:29:58.631000+00:00
Original source
I don't mean write it for me ofc