MantisBT - Zandronum | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0003982 | Zandronum | [All Projects] Bug | public | 2022-03-22 05:31 | 2022-03-22 05:33 |
Reporter | shadowpikachu | ||||
Assigned To | |||||
Priority | normal | Severity | minor | Reproducibility | always |
Status | new | Resolution | open | ||
Platform | OS | OS Version | |||
Product Version | 3.1 | ||||
Target Version | Fixed in Version | ||||
Summary | 0003982: SetPlayerClass force respawn does not work and stops script in TLMS | ||||
Description | When 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 Reproduce | Run 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 Information | Using 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? | ||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | |||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2022-03-22 05:31 | shadowpikachu | New Issue |
There are no notes attached to this issue. |