Remade a whole new project to test this out, and it is as simple as that, you cannot spectate someone who’s been revived through the (Agent: agent).Respawn()
function, here’s a video proof :
At the end of the video, it says “Spectating DummyShadow” but the camera stays in place
My island settings Spawn Limit
is set to 1 and I’m reviving the other player via this script :
respawn_bug := class(creative_device):
@editable
AllTeamSetting : team_settings_and_inventory_device = team_settings_and_inventory_device{}
@editable
StayDeadButton : button_device = button_device{}
# Runs when the device is started in a running game
OnBegin<override>()<suspends>:void=
var AgentsToIgnore : [agent]logic = map{}
sync:
loop:
Agent := StayDeadButton.InteractedWithEvent.Await()
option{set AgentsToIgnore[Agent] = true}
loop:
Agent := AllTeamSetting.TeamMemberEliminatedEvent.Await()
if(not AgentsToIgnore[Agent]):
Sleep(4.0)
Agent.Respawn(vector3{}, IdentityRotation())
This is quite blocking since I have a 5min round island and people can stay on the ground for minutes without understanding what’s going on!