I tried to copy it, and when I was getting the player ID → PlayerCharacter → Cast to FirstPersonCharacter, the cast was always failing and I was wondering why… And then I say to myself… Hmmmmm when I create the Get Player Character Node, it wants a Player Index… I was feeding that player Index with the PlayerID, which I thought that was the correct way… But then I say “What if instead of the PlayerID, I sent it the Index in the PlayerState Array in which it was found”… GUESS WHAT… IT WORKED. IT WORKED GOD DAMMIT.
This was the reason from the very start that my program didnt work… I was feeding it the PlayerID in the Player Index instead of the actual index in the playerstate array… NOONE TOLD ME THAT THESE TWO WERE DIFFERENT. COME ON GUYS.
This is very crucial. Everyone says “Its ok, just get the player ID and then get his character”… THIS IS VERY MISLEADING.
THE PLAYER INDEX IS NOT THE PLAYER ID!!!
EPIC GAMES SHOULD CHANGE THEIR NAME TO
“PLAYER ID != PLAYER INDEX”
Phew, that was…mmm… refreshing…
Anyway thank you very much for your help…
I really appreciate it… Stay safe.