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

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0003982Zandronum[All Projects] Bugpublic2022-03-22 05:312022-03-22 05:33
Reportershadowpikachu 
Assigned To 
PrioritynormalSeverityminorReproducibilityalways
StatusnewResolutionopen 
PlatformOSOS Version
Product Version3.1 
Target VersionFixed in Version 
Summary0003982: SetPlayerClass force respawn does not work and stops script in TLMS
DescriptionWhen a TLMS Mode is active and in progress, any script that attempts to respawn someone runs the line to set the playerclass/any other things on that tic, it sets the class and stops there, not respawning.

Assumedly it gets to the code where it tries to respawn you and promptly dies.
Steps To ReproduceRun a script like:

SetPlayerClass(PlayerNumber(),[whateverclass],1);
Delay(10);
SetPlayerClass(PlayerNumber(),[whateverclass2],0);

Here it would stop before the delay never setting your class back or respawning you, but without it:

SetPlayerClass(PlayerNumber(),[whateverclass],1);
SetPlayerClass(PlayerNumber(),[whateverclass2],0);

Here it would run both then stop since it's on the same tic, resulting in you sitting at [whateverclass2].

Neither case respawns you in TLMS.

Replace [whateverclass] with a class and set [whateverclass2] to another class.
Additional InformationUsing setdeadspectator is not a valid substitute, maybe morphing but that has it's own less clean procedures to get working.

I'd expect if it didn't work with TLMS for reasons it would at least not stop the script, perhaps it needs to be forced?
Attached Files

- Relationships

-  Notes
There are no notes attached to this issue.

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

- Issue History
Date Modified Username Field Change
2022-03-22 05:31 shadowpikachu New Issue






Questions or other issues? Contact Us.

Links


Copyright © 2000 - 2025 MantisBT Team
Powered by Mantis Bugtracker