Instant Respawn With Teleporters
2370 Views
-
using { /Fortnite.com/FortPlayerUtilities } using { /Fortnite.com/Characters } using { /Fortnite.com/Game } using { /Fortnite.com/Devices } using { /Verse.org/Random } using { /Verse.org/Simulation } using { /UnrealEngine.com/Temporary/SpatialMath } using { /UnrealEngine.com/Temporary/Diagnostics } TeleporterInstantRespawn := class(creative_device): respawnposition: vector3=vector3{X:= 0.0, Y:= 0.0, Z:= 0.0} # Update to actual respawn coordinates @editable ElimManager : elimination_manager_device = elimination_manager_device{} @editable var Teleporter : []teleporter_device = array{} NowRespawn(Agent: agent)<suspends>:void= Sleep(0.1) Agent.Respawn(respawnposition, rotation{}) SelfEliminated(Agent:agent):void= spawn{NowRespawn(Agent)} OnBegin<override>()<suspends>:void= ElimManager.EliminatedEvent.Subscribe(SelfEliminated)
You're reading a preview
The full reference is free for BrainDeadGuild Discord members — sign in to read it all, or open the original at the source.
Sign in with your BrainDead.TV / BrainDeadGuild Discord account for full access.