Download

Server side blueprint scripting

Ive got a quick question as im not entirely sure how to handle this.

What would be the best way going about finding out when a new player has joined the server?

Im having trouble visualising where this would take place and how to capture it as i cant find any nodes that provide this information on demand.

there is a “PostLogin” Node in GameMode. however it provides no informations about the new player
https://docs.unrealengine.com/latest/INT/API/Runtime/Engine/GameFramework/AGameMode/K2_PostLogin/index.html

Thanks thats perfect.

I wish there was a master list of all nodes and a description of each in the documentation.

Is there a similar Node that notifies when a player has disconnected?

Hello,
Maybe new node made by Rama for 4.6 may help you too : https://forums.unrealengine.com/showthread.php?49459-From-Me-For-You-in-4-6-and-4-5-PlayerId-Get-Focal-location-and-others&p=187609&viewfull=1#post187609 by registering users in a “logged” bool array and checking if true or false with id as index for example.