Player_SetTeam

From ZDoom Wiki

Jump to: navigation, search
Warning: This feature is Skulltag specific, and is not compatible with ZDoom!
To see all of Skulltag's specific features, see Skulltag features.


145:Player_SetTeam (team)

team: What team to set the player to.

Sets the player's team. Usually used at the start of a CTF map in the team selection area. The following values are used for teams:

  • 0 (TEAM_BLUE) - Sets the player to the blue team.
  • 1 (TEAM_RED) - Sets the player to the red team.
  • 2 (NO_TEAM) - Removes the player from his current team.

Example

Note: This article lists no examples. If you make use of this feature in your own project(s) or know of any basic examples that could be shared, please add them. This will make it easier to understand for future authors seeking assistance. Your contibutions are greatly appreciated.
Personal tools