Hi guys! This is my second question. (Still haven’t gotten a solid answer on my first post. Click here if you want to see it! → Hi! I'm new to GCCF, and I need help ) As some of you may know, I’m making a free-for-all shooter game. In the game there is going to be a map selection room where players can choose which map to play on. I want to make it so that each map has a trigger next to them, and whichever trigger has the most players, that map gets chosen. I’m not sure if there even IS a solution for this (HOPEFULLY there is! ) but if you have any suggestions or ideas, PLEASE tell me!
Thanks! - JaydoPotato
Wait is this the same as your old question?
No, in this case, I want to make players select a map.
1 Like
Have the trigger increment a counter for that map- that counter updating a property. Then use the guide below to see which property has the most votes!
Well, this is comparing properties. There’s a few methods for different cases, but it should work for each one.
Properties of Different Scope Say you have a score property, and you want to see who is in first place. This is a pretty simple concept, but it can get a bit ugly. Basically, we first have a property that stores the highest score yet. Then, we loop through the entire server to see if the person has a higher score than the highest score yet. If it is higher, then we set the player id of…
3 Likes
Use a popup that teleports everyone to the map using a relay and teleporter
Okay, but that’s not what I’m looking for, sorry
Uhm use a
Things needed You need buttons. Example: Lets say I wanted people to vote 1-5 things… that means you need 5 buttons
You need 5 triggers
You need 5 counters
[image]
I don’t use channels, so we are doing wires.
WARNING: This took time to make!
Now wire every button to a counter. ‘When button pressed > increment counter.’
Make sure they are partnered!
[image]
Lets move on to the triggers:
Your settings for the trigger should look like this >
[image]
Now lets do buttons >
[image]
[im…
This lets players choose da map
3 Likes
buttons or a pop-up or even overlays
1 Like
you could wire buttons to teleporters and add text if you wanted…
Yeah, good idea! I’ll try it
Here is an example
with wires
What game looks like, easy as pie! Btw, you can also make the teleporters invisible if you want…
That’s all pretty easy right? I hope I helped, yay
If banana1’s post was helpful and solved your problem, I’d recommend marking them as your solution!
I’ll test this out, thank you!
Sorry banana, this won’t work… I’m very sorry
I want to make it so that it is based on votes, and that the player won’t teleport right away… Do you have any other ideas?
I would suggest using this guide @CustomCoaster posted above:
You’re gonna want to pair it with the guide I posted above:
Well, this is comparing properties. There’s a few methods for different cases, but it should work for each one.
Properties of Different Scope Say you have a score property, and you want to see who is in first place. This is a pretty simple concept, but it can get a bit ugly. Basically, we first have a property that stores the highest score yet. Then, we loop through the entire server to see if the person has a higher score than the highest score yet. If it is higher, then we set the player id of…
Oh, this is a lot more difficult, you might not want to go that deep if your a beginner…