Workshop.codes
Create

Move Player To Team Last updated November 26, 2024

Description

Move one or more Players to the specified Team and Slot. This action can fail if the specified slot is not available. This action doesn't work on Dummy Bots.

Snippet

Move Player To Team(Event Player, All, -1);

Properties

Returns: Void
Parameters: Player, Team, Slot

Player
Type: Player, Default: Event Player
The Player or Players to move.

Team
Type: Team, Default: All
The team on which to move the Player. The "all" option only works in free-for-all game modes, while the "team" options only work in team-based game modes.

Slot
Type: Integer, Default: -1
The player slot which will receive the Player (-1 for first available slot).

Workshop.codes