CombinedArmsGaming / CAFE3

F3_CA but bouncier.
2 stars 3 forks source link

[Feature] - Return of the Respawn Squares #199

Closed Bubbus closed 9 months ago

Bubbus commented 9 months ago

Resolves #195

Pull Request Description

When merged this pull request will:

Release Notes

Added a "Respawn Player at Cursor" ZEN module (the old "respawn squares" are back!) Changed default minimum respawn delay to 3 mins. No more 10-second respawns (unless you specifically set it.)

IMPORTANT

Cre8or commented 9 months ago

Please fact-check my understanding:

  1. This Zen module will spawn a respawn square, which will respawn a random player (polls every 5 seconds), exactly once, and then delete the square.
  2. If no players are dead, the square will persist until a candidate player is found, and respawn them.
  3. Consequently, if more than one player is to be respawned, Zeus can simply use this module multiple times (potentially even scatter them across a large area). Each one of them will get exactly one use and be consumed.

Is this all correct?

Still a bit unclear about this part, but I reckon it's doing what it should. In any case, the code is valid and seems good.

Bubbus commented 9 months ago

Please fact-check my understanding:

  1. This Zen module will spawn a respawn square, which will respawn a random player (polls every 5 seconds), exactly once, and then delete the square.
  2. If no players are dead, the square will persist until a candidate player is found, and respawn them.
  3. Consequently, if more than one player is to be respawned, Zeus can simply use this module multiple times (potentially even scatter them across a large area). Each one of them will get exactly one use and be consumed.

Is this all correct?

Still a bit unclear about this part, but I reckon it's doing what it should. In any case, the code is valid and seems good.

i forgor

Yes this is correct.