Using Remote Procedure Calls (RPCs)
Now that you have a strong grip on the world of property replication, it’s time to introduce you to the way in which functions can be called across the network. In Unreal, this is achieved through Remote Procedure Calls (RPCs) – one of the most powerful features of the engine networking system.
In this chapter, you will learn how to execute functions through RPCs and understand how to run them on the server, on a client, or on all clients that have an instance of a particular object.
Additionally, you will learn about the common requirements for properly calling these types of functions – in particular, I will explain the difference between a reliable and an unreliable function.
Finally, you will obviously apply this newfound, precious knowledge to the project you have developed so far.
So, in the next sections, I will present the following topics:
- Understanding what an RPC is
- Executing RPCs over the network...