Does NetMulticast only work from the server?
I've been experimenting with NetMulticast, and if I call a NetMulticast function from a client then it only gets called locally, and does not run on any other client or the server.
If I add a server function that then called the multicast function, then the function gets called locally on the server as well as on all the clients.
Is this correct, that the only way to call a NetMulitcast function is from the server?
In which case, in order to get a function called on every client and server, you need to implement two functions - one to run one the server and the other to be multicast?
asked May 08 '15 at 11:56 PM in C++ Programming
Hi, Please wrote those four functions here. I have a function that called from Animation Blueprint and it's just only run on client owner and server and not on other client, I want to know how i can call it on other clients ? I get an error about no owning connection for that function. This is my code:
answered May 12 '16 at 01:22 PM
No. Yes and No.
No - because it will work on client, but only for the calling client Yes - because in order for all the rest to get that too, it should be called from the server.
So pretty much it depends on what you intend to do.
This answer is to unconfuse rapid readers who would otherwise think it wont work on the calling client
Follow this question
Once you sign in you will be able to subscribe for any updates here