I need to get the character of the player and with that to call Launch Character
when the player overlaps a trigger box (it has OverlayOnlyPawn
). For this I tried the following:
Map blueprint:
Player controller:
Game mode:
But every time a client enters the trigger box, the server is getting launched. If the server enters the trigger box, he is the one launched.
I tried to switch inside the map blueprint to this:
But still the same problem. Then I tried switching the index for Get Player Character
to 1, now the client is launched when the server enters, which makes me think that the index isn’t 0 for player local player, but the index is for all characters in the server.
In that case, what do I need to change so that I get the character for the player that enters the trigger box so I can use the Launch Character
for the right character?