Question about switching teams (Resolved)

how do i make a property (with a players name in it) switch teams when a player presses a button overlay

1 Like

What do you mean?

Properties can’t switch teams.

1 Like

like is ther a way to switch a player’s team, the players name is in a proprety

1 Like

Can you give more context?

1 Like

so a players name is in a property, is there a way to change the players team if someone presses a button overlay while using the property

1 Like

I don’t think so…

1 Like

oh ok

1 Like

So are you saying when any player presses a button whichever player with the property as their name gets switched?

6 Likes

yes, its a button overlay too

1 Like

Connect the button overlay to a relay set to all players so the button triggers the relay. Connect the relay to a trigger so it triggers it. Make this block in the trigger:


Insert the property you used in the text box connected to “Get property.” Then make the team switcher switch the player when it receives on Team switch.

5 Likes

Wait so the trigering player are all the players right, because of the relay

1 Like

Yep.

2 Likes

Makes sense thank you

1 Like

hmm its not working…

What happened when you tested it out?

1 Like

its not swithcing teams

wait i think i found the problem

never mind it works