Zandronum Chat on our Discord Server Get the latest version: 3.2.1
Source Code

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0004615Zandronum[All Projects] Bugpublic2026-05-24 21:492026-05-25 12:25
ReporterExtended-Tangent 
Assigned To 
PrioritynormalSeverityminorReproducibilityalways
StatusconfirmedResolutionopen 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0004615: Player_SetTeam is unable to switch players off of a team
DescriptionThere is a contradiction with the Zandronum Wiki's article on the function:'https://wiki.zandronum.com/Player_SetTeam [^]'

"Using the current value of sv_maxteams removes the player from their current team without making them join another."

This is not possible. Trying to set the player to the value of sv_maxteams does not set the player to an unaffiliated team.
Steps To ReproduceThe test WAD contains a map with three switches: two for blue and red team, one that runs an ACS script that sets the player team to the value of sv_maxteams. The first two work as intended, but the third does not perform the documented behaviour.
Attached Files? file icon Player_SetTeam.wad [^] (8,855 bytes) 2026-05-24 21:49

- Relationships

-  Notes
User avatar (0024759)
unknownna (updater)
2026-05-25 12:25

Quote from Extended-Tangent
"Using the current value of sv_maxteams removes the player from their current team without making them join another."

This is not possible. Trying to set the player to the value of sv_maxteams does not set the player to an unaffiliated team.


Can confirm the issue, and I think the referenced documented behavior is very odd and unnatural, it should instead just do what it does normally, so it's consistent. Maybe it's just an error on the wiki.

Issue Community Support
Only registered users can voice their support. Click here to register, or here to log in.
Supporters: Extended-Tangent
Opponents: No one explicitly opposes this issue yet.

- Issue History
Date Modified Username Field Change
2026-05-24 21:49 Extended-Tangent New Issue
2026-05-24 21:49 Extended-Tangent File Added: Player_SetTeam.wad
2026-05-25 12:25 unknownna Note Added: 0024759
2026-05-25 12:25 unknownna Status new => confirmed






Questions or other issues? Contact Us.

Links


Copyright © 2000 - 2026 MantisBT Team
Powered by Mantis Bugtracker