How can I track the amount of players still left in the game?

I know there were guides on this, however they all no longer have images, I need my game to end when there is only one player left, how can I do this.

Ummm, you could set a counter that increases for every player, and a counter that decreases every time a player is knocked out, then have it end the game when it reaches its target goal of 1?

Not 100% sure if this works tho. Let me try to play-test it.

if only it were that easy ;-;

I’m pretty sure you can use a relay on game start that increases the global counter.
Kinda so that way every player updates the counter once at the beginning, would that work?

Try using this post (the image didn’t serve a purpose)

2 Likes

Yeah that should work.

Use this:

Then, add a trigger loop that goes at .1 seconds to check the property. If it’s equal to one, end the game. You know how to code that much by now, right?

2 Likes

This topic was automatically closed 3 hours after the last reply. New replies are no longer allowed.