All Players In Zone Teleportation

Hi everyone!

I recently started working on a project called the Gim-Lympics, intented to recreate the olympics games in a gimkit style, and setting. For the first game, climbing, I wanted to create a zone that detects if all players in the game are inside it, and only then will it teleport all players to the next climb. I saw some other guides on it, and figured that a live player counter, and another counter connected to a zone, both of which connected to properties, would be able to be compared, and when they are equal, it would teleport. For some reason, gimkit seems to not like the block code that I put in the trigger, (for comparing the two properties), and such it sends the signal to teleport everyone before everyone is in the zone. I will post some pictures of my setup, can anyone help?

Much love!

You need to use Get Property: Num of Players and Get Property: Number of Players Zone 1 since right now all you’re comparing is two text strings.

Should work? Are you sure the player counter is connected properly?

1 Like

Yeah, I tried that a bit ago, and that’s what was causing the issue of teleporting everyone before everyone was in the zone.

It should stay as what Turtle said, you are using the right properties and the channel the block activates on is correct, right?

It could be that the channel is activating before the value of the properties change. Also, the number of players zone 1 property has a default value connected to a counter, right?

I believe I am using the right properties, and I will change it to what Turtle said, but I think that something is wrong with either the values, or the incrementation of the counter.

Alright, maybe some screenshots will help? Device settings and channels/wires?
Default value should be one for property and counter increment on channel?

The number of players property should have it’s default value connected with the counter that tracks the player amount. Then a channel would activate after the number of players in that game is determined.

Okay, here are some screenshots


This is my current setup with the counters, just know that there is a live player counter, that is connected to the num players property.

Yes, that is how I made it teleport everyone at the same time, with the same signal.

The trigger block code is activating at the same time as the counter. That messes it up. I think. :sweat_smile:

Oh, how would I fix that? Thank you so much!

Maybe use channels instead?
More versatile than wires.

I don’t see how that is different from wires, if the goal we are trying to accomplish is delaying the trigger, to let the counter make the count. But thank you, I will do that after I find the solultion.

Right so maybe instead have it so the block code runs whenever someone enters the zone, so it only checks then.

That way the counter will be incremented and instead of sort of linearly running like this you just update and compare the values at a new entrance?

Make any sense?

Wires can be a bit faulty, but yeah you have to let the counter increase the property amount first before activating the block code. Right now, it is checking the values immediately, which makes both of them 0.

Would this work?

The wire repeater has a delay of 0.5

Just to make sure, the counter’s property is connected with the property shown?

Im pretty sure that it is, unless I am missing a setting.

Can I see the property settings real quick?
And counter settings as well if possible.

Also welcome to the community, etc, most important thing to note is that you only have ten replies to make today and don’t post codes.