MantisBT - Zandronum
View Issue Details
0004154Zandronum[All Projects] Bugpublic2023-08-18 18:512023-08-18 18:51
Basinga 
 
normalminoralways
newopen 
MicrosoftWindowsXP/Vista/7
3.1 
 
0004154: ACS SerPlayerClass will NOT set the class you're currently using back
If you use ACS SetPlayerClass on a different class, then back to the class you're currently using, it DOESN'T set your class back to what you're using. It stays on the different class.

There are reasons for why you'd want to keep the class you're using, like having a character select menu and choosing something then regretting it, which is something you can already do in the player setup screen and it works perfectly fine there.
-Have 3 classes
-Setup a cooperative game
-Spawn as your class of choice
-Use SetPlayerclass, with no instant respawn, to set yourself to a different class
-Use SetPlayerClass once more, to set yourself as the class you currently are.
-When you die and respawn, you won't stay as the same class, you'll be the last class you chose that wasn't you.
I've provided a pk3 with 3 classes. Use altfire, reload and zoom to use the SetPlayerClass scripts.

Altfire - Change to doomguy1
Reload - Change to doomguy2
Zoom - Change to doomguy3

You'll notice that if you, as doomguyOne, press Reload, then press altfire again, you'll die and respawn as doomguy 2.
No tags attached.
? ACSSetClassCheck.pk3 (2,485) 2023-08-18 18:51
https://zandronum.com/tracker/file_download.php?file_id=2860&type=bug
Issue History
2023-08-18 18:51BasingaNew Issue
2023-08-18 18:51BasingaFile Added: ACSSetClassCheck.pk3

There are no notes attached to this issue.