Skip to content

How can you end a stage for multiple active players? #947

Answered by delucis
zealvurte asked this question in Q&A
Discussion options

You must be logged in to vote

Is there a known workaround to achieve something like this, or is it something new that needs support?

I think there may be some limitations with how stages work currently for this scenario. As you mentioned, revert (and also the next option) are only activated once activePlayers becomes empty, so to trigger them you need to call endStage for each player. Perhaps the missing API is something like an endAllStages event, to trigger that next/revert step early.

You can obviously end the stage for everyone using setActivePlayers, but this doesn’t play well with the revert option. You can possibly workaround this by using next instead of revert. The only limitation is that this won’t work co…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by zealvurte
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants