Is there a way in blueprint to find out when a player has joined your game? there is a node called ‘get current players’ but I’m unsure how it should be used?
i want to maintain a variable of players i have currently in the game so i can know if its “game over”
You can, for example, count the Player Controllers on your server (only on the server because clients only know their own Controller).
Or you use the “Post Login” Event INSIDE the GameMode Blueprint. It’s called when a player sucessfully connected and it gives you it’s player controller:
For example with “Get all actors of class” and select your controller class. Be sure to use this only on the server. Use a “switch has authority” node and put the logic behind the authority output.