Hello everyone!
Currently, I am working on a project where there are repeated “Phases”. The players in the game are asked to do something each phase. The information received from each phase is vital for the game going forward, so I want to make sure that it is saved. These phases will come together to form a Week in game. Each week is separate from the other weeks before and ahead of them. I’m going to clear the data from the previous week every time a week ends.
The only issue I have, right now, is making it so these Phases and Weeks are ongoing until a certain point. I want the weeks to repeat, as well as the phases inside each week, so the game runs smoothly.
Let me give an example. In Week1, there is Phase1. When this phase ends, Phase2 will automatically begin. Then Week1 will end, and a new week will take its place with a new Phase1 and Phase2.
How would I handle it on the server? Would I use RemoteEvents, making it so each event fires on the server and replicates on the client repeatedly? And then when the phase ends, it would fire back to the server? Or would this be unnecessary communication?
Another question: Would I want to combine the continually repeating phases into one script? Or have a series of scripts that activate when certain Events are fired?
I just want to understand which would be better for the server and individual clients to handle. I, of course, can provide more detail if this is too confusing. Thank you in advance.