An overview of the Network Features example level, example 1.2: Detecting Network Authority and Remote Clients in Blueprints.

In order to view both Server and Client perspectives, on the Play dropdown, set the Number of Clients field to 2.

This example demonstrates a Blueprint executing different logic depending on whether the Blueprint is running on the Network Authority (Server) or a Remote Machine (Client).

Event Graph

As seen in the Event Graph of the Blueprint below, the Switch Has Authority node is used to check if the script is being executed on a machine that has Network Authority (in most use cases, this would mean Server) or if its being executed on a remote machine (in most use cases, this would be the Client).
The Text Render component is then updated based on whether the script is being executed on the Server or Client (the Client also updates the color of the ghost's body to a different material).

Click for full view

Here is the result of what the Server and Client will see by executing this script with the Switch Has Authority node.

Select Skin

Light

Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.