IsDedicatedServer will return TRUE on dedicated servers Or MULTIPLAYER (but only on the server-side, not for you as a client) IsServer will return TRUE when you are playing Let’s go over how these work and how to use them properly. In the image to the right, we show you the two typical methods of checking if something is running on a server the isServer and isDedicatedServer branch checks. If you have a server setup running through something like G-Portal and you connect to that server, you are a CLIENT, and the server is a DEDICATED server. If you are playing COOP and you are not the host, you are a CLIENT If you are playing COOP and you are the host inviting other players, you are both CLIENT and SERVER. If you’re playing in a single-player game, you are both CLIENT and SERVER. No matter how you play the game, you are running on a server. The full Unreal documentation can be found here for reference: You might or might not run into any issues, but if you aren’t aware of these concepts, odds are that you will be shooting in the dark. These are fundamentals that, if you don’t have a firm grasp of this will make it much harder to perform replication work. Before we start, we do need to cover the basic concept of what a SERVER, DEDICATED SERVER, LISTEN SERVER, and CLIENT are.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |