End game at one player on team

Hello, I am trying to make a hide and seek map where once a player is knocked out, they are put on the seeker team. I have a team switching device set up, yet am finding it difficult to end the game when only one hider remains. I cannot check the total amount of players or use anything related to knockouts to my knowledge as both hiders and seekers can be knocked out. I tried to follow other guides yet the images were Thanos snapped out of existence a while ago. My attempts to follow these guides on my own resulted in a functioning live player counter counting the current number of hiders, yet either the game would instantly end upon starting, or it just would not end at all. Please help.

welcome to the forums, @elyk233
there should be guides about this but they might not have images

1 Like

You can create a zone that counts up a counter to see how many people joined, then have the counter that is connected to a property. The code for that I havenā€™t done yet, but it should be something like that.

I tried to follow these other guides but my attempts did not work. I am not sure if I am doing it correctly as they donā€™t have images.

I will try that, I am busy for a while but will check occasionaly.

1 Like

Oh and connect a checker to that property and have a trigger loop that constantly checks the player amount. Welcome to the forums!

1 Like

The only issue I see with this is how I can detect how many seekers there are. I can find the total amount of players but not that on a specific team. Is there a way to detect what team someone is on when they are knocked out?

Use a relay that relays the message to that specific team.

1 Like

Ok, Iā€™ll try that. Thanks.

1 Like

Can you explain what you mean when you say ā€œrelays the message to that specific team.ā€ The only thing I can find that the relay will do is do something on behalf of a team. Iā€™m basically having trouble making sure that if a seeker is KOā€™ed, it doesnā€™t affect how many hiders there currently are.

@elyk233 First of all, welcome to forum! Here is a community made guide with three parts, hope itā€™s useful and helpful.

1 Like

Thank you, I will take a look at it and try to figure it out. Iā€™ve just been looking for a guide on how to make a game end on 1 player. Never thought to look for something specifically for tag. XD

1 Like

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