(39) 's Extra Blueprint Nodes for You as a Plugin, No C++ Required!

New BP Node

Get Player Unique Net ID

While working with a client earlier today in Blueprints I came to realize that the essential variable, PlayerID, present in the PlayerState class, is not exposed to Blueprints!

I’ve submitted a pull request to have Epic address , but in the meantime, I’ve also given you a BP node that gets you very important variable!

You can use the PlayerID to uniquely identify players in a networked game using Blueprints!

is an essential variable that lets you assign values to each unit to tell each player who owns which unit :slight_smile:


**Using it**

In your game mode in the post login, when you receive the player, you can then use my node to obtain that player's Net ID, and assign that unique ID wherever you like as an ID variable.

Make sure to replicate the variables that are storing the unique Net ID so  players on  machines know who owns which units!

![PlayerID.jpg|1034x633](upload://fnybdEiCFWxQiaSrLdayyxiwgbb.jpeg)


Have fun!