Set User Team
Runs on: Backend.
Puts a viewer into one of your channel's teams. A viewer can only be on one team, so a viewer already on another team is moved.
Choose the team from the dropdown, or wire a number (a team ID) into the Team handle to choose at runtime. The dropdown is hidden when Team is connected.
Inputs
| Name | Type | Description |
|---|---|---|
user | user | The viewer to assign. |
team | number | The ID of the team. Uses the dropdown when not connected. |
Configuration
- Team: The team to assign. Shown only when the
Teamhandle isn't wired.
Example
Viewers join the Red Team or Blue Team with channel point redeems. Two flows each send the redeemer's User to a Set User Team effect set to a different team.