Players respawn at location where they died

Jul 26, 2015
697
820
Is it possible to make players respawn at the place they were when they died / remain in the same location when they change class?

Not quite sure exactly why I'm trying to do this, but... just wondering...
 

Izotope

Sourcerer
aa
May 13, 2013
698
764
There are a few really unprecise ways of achieving this, yes,
but I'm assuming you want the exact spot, which is not possible without a server plugin.
 

Egan

aa
Feb 14, 2010
1,375
1,721
It's probably possible but I wager slightly difficult: can use game_playerspawn to send a TestActivator to a series of filter_targetname (one for each player in the map) to detect who spawned, and then teleport the player to wherever they died, the location of which is set by teleporting some associated entity which holds the transform (the position in space) of that player who died using game_playerdie (same method as above).

If you want to do this I recommend trying to comprehend ABS' eggwar associative entities guide.