(Verse)How can I ,,,, When a player eliminated, teleport to any place.

Hello, I’m begginer of UEFN Verse.

I want to When a player eliminate, teleport this player to any place.

I think it can to use “FortniteCharacter.EliminatedEvent” and “Teleport” with Teleporter_Device.

But EliminatedEvent use “fort_character” parameter, and Teleport use “Agent”.

So, I cannot work well together.
I don’t understand that the fort_character and the Agent are similar but different.

Can they work together well?


I try bellow script, but it is not work…
OnBegin():void=
if (FirstFortniteCharacter0:fort_character = GetFirstFortniteCharacter[]):
FirstFortniteCharacter0.EliminatedEvent().Subscribe(OnEliminatedEvent0)

OnEliminatedEvent0(Elim0 : elimination_result) : void =
telepo.Teleport(Agent)

Thanks,

Hi, you can get the Agent from your fort_character like so:

if(AgentFromChar := FortCharacter.GetAgent[]):
    # Do something with Agent

I made it.
thank you.
That’s how GetAgent is used.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.