Hi guys,
So a few weeks ago I asked how to implement round based match and was told game instance would work, and that works great as long as no player leaves or joins the match late.
So lets say I have 3 rounds (in game instance), that get incremented after every match end (Under game mode), but then someone joined late. The person who last joined would have CurrentRounds = 0, and would lead to some weird things happening.
How do I go about doing this under something like a session instance that is managed by the server?
Thanks,
EDIT:
The way I currently have it is that at the end of the round the GM resets ( RestartGame()
- This resets the data as well). Otherwise I would need to get all the actors in the map and reset them to the way they were at the beginning of the match. I tried using game state before but it causes a lot of issues with the match state and the actor locations (Deleting previous spells that exist on the map, move all players back to spawn, start timers, and many more issues that lead me to resetting the GM as the quickest implementation).