I would like to make my mod work on servers. I have very little experience when it comes to multiplayer coding. I have read something about it, like replication and that some function must be executed by the server, but I don’t fully understand it.
In my mod player can spawn a dino via a menu, on which they can ride. The coding in my widget blueprint looks like this:
Now when testing it on multiplayer, only the server can spawn the dino. I know this, because only a server can do something like spawning actors. So I have to let the server spawn the dino for the client. Which node should I use? Do I need something with replication.
Hopefully some one can help me with this, because I know very little about it. Let me know if you need more screenshots.
Thanks in advance.