MantisBT - Zandronum
View Issue Details
0001878Zandronum[All Projects] Suggestionpublic2014-07-08 10:522014-07-08 10:52
ZzZombo 
 
normalminorunable to reproduce
newopen 
 
 
0001878: Don't run RESPAWN scripts on respawn caused by Player_SetTeam()
Since in most cases RESPAWN scripts are used only to determine that a player is not longer dead, that behavior may be troublesome. In my mod I use RESPAWN scripts to move respawned players to the opposite team. I also don't want players to join that team by will (they must be killed first to join its ranks), and since Player_SetTeam() causes them to respawn, that causes them end up on the "locked" team, completely defeating my purposes.
Don't trigger RESPAWN scripts if the player isn't dead in the first place.
No tags attached.
Issue History
2014-07-08 10:52ZzZomboNew Issue

There are no notes attached to this issue.