I am wondering how to target a specific player after they’ve spawned on the server. I’ve tried to manually create my own player indexing system, but to no avail. I did some digging but the only thing I found that made some sense was getting all PlayerControllers (all players in game at that time) in the GameState blueprint making an array out of the results. Then in the MyCharacter blueprint I cast to GameState and get that Array, get its length, add 1 to it and set that as unique ID for the player, and this works. But now how do I target a player based on that unique ID, what node do I use instead of Get Player Character or Get Player Controller?
Basically my question is how does one handling player indexing / player targetting in a multiplayer game when the standard player index is not viable anymore?
Thanks in advance.
What if you create an array with an instance to each character? That way you can figure out which character you are targeting by getting the position through the instance.