Counting and Ending Team Battle Royales! Difficulty [ 🟨 ] or [5/10] [WIP]

bumper cars

@here Quick Poll:

Difficulty out of 10?
  • Doy/10
  • Your 89th online friend/10
  • Very Good/10
  • Nobody Asked/10
  • Joke Poll/10
  • Don’t ban me please/10
  • If you don’t want a ban then why did you post this/10
  • Pointless/10
  • Happily/10
  • Here_to_help/10
  • ClicClac/10
  • Gimavenger/10
  • Woah/10
  • 1/5
  • 2/5
  • 3/5
  • 4/5
  • 5/5
0 voters

@here Update 2.0 is here!

No?
(bring this to the other forum pls)

oh ok srry

bump

Congrats.
You pronounced it correctly.

1 Like

You can simplify this guide like this:

Life cycle → all players relay → trigger
trigger blocks:
broadcast on : Convert to Text (Add) [Triggering Player’s Team]
Have a counter for each team that receives on “Add [Team #]”.

Basically use concatenation to broadcast on the right channel. It’s somewhat similar when someone dies. Use a knockout manager or tag zone to trigger it, and concatenate “Subtract” instead of “Add”. Also, check if the property is 0. If it is, set a property that tracks if the full team is dead or not to true. If 3 teams have true, then the game ends.

All I did is create 4 properties called "Team1, Team2, Team3, and Team4, which are text properties that go like “Team 1”, “Team 2”, “Team 3”, and “Team4”. Now I have a property which is all these properties concatenated. When one team is dead, set it’s corresponding property to “”, and when the length of the property with all teams concatenated is equal to 6, end the game. This is so there can also be an end-of-game widget with the winning team on it.

Why did you have a repeater then? And isn’t only 1 relay necessary?

The first part is how you count the number of players on your team.

Wait, so this guide is to count how many players are on a team, right? Has anybody figured out how to count the number of teams?

No, it’s to end the game when only one team has >0 players.

You’d just relay to every team you use and increment a counter.

Wait, there is a relay setting for that? (Sorry, I don’t use relays that much).

You could do:

Relay (Team 1) → Increment Counter (Use a trigger with max triggers of 1 so the counter is only incremented once).

Relay (Team 2) → Increment Counter (again and again).

Would doing Single player on each team work, instead of doing a relay for each team?

2 Likes

Probably. Amazing idea!

1 Like

Yeah, I guess. @mysz, I was confused by what you originally said. That’s why I responded the way I did.

Thank you! I have my moments lol

2 Likes