Hello,
Today i was smashing my head all day.
I am not able to recreate the instant respawn ( without loading screen)
I tried with the code where respawns on specific location, but i respawn on the same point at full healt and die again with screen loading.
Then i tried to trigger elimination manager, to send signal to OBNO device to revive me and them OVNO device to teleport me to the specific teleport that i want.
But this didn’t work too.
Soo I am wondering if it is a bug? Or it was a bug all this and it is no longer possible?
Thank you in advance,
Best Regards,
Siek
Hey! I ran into a similar issue recently. What worked for me is using verse!
Here is my modified code from this tutorial
Good Luck!
using { /Fortnite.com/Devices }
using { /Verse.org/Simulation }
using { /UnrealEngine.com/Temporary/Diagnostics }
using { /Verse.org/Random }
using { /Fortnite.com/FortPlayerUtilities }
InstantRespawn := class(creative_device):
@editable var SpawnPad : player_spawner_device = player_spawner_device{}
@editable var Teleporter : teleporter_device = teleporter_device{}
@editable var ElimManager : elimination_manager_device = elimination_manager_device{}
OnEliminated(Agent:agent)<suspends>:void=
Sleep(0.1)
Transform := SpawnPad.GetTransform()
Agent.Respawn(Transform.Translation, Transform.Rotation)
WrappedOnEliminated(Agent:agent):void=
spawn{OnEliminated(Agent)}
OnElimination(Agent:agent)<suspends>:void=
Sleep(0.1)
Teleporter.Teleport(Agent)
WrappedOnElimination(PossibleAgent:?agent):void=
if:
Agent:=PossibleAgent?
then:
spawn{OnElimination(Agent)}
OnBegin<override>()<suspends>:void=
ElimManager.EliminatedEvent.Subscribe(WrappedOnEliminated)
ElimManager.EliminationEvent.Subscribe(WrappedOnElimination)
Hey! I will test this soon, thank you for sharing it with me!