Replication behaviour doubt
I've been trying to set a variable to repnotify and call a function.
I have a dedicated server and two clients.
The way it works is:
Now, the other client doesn't get called. In order to get called from this function (step 2) I need to search for the server controller of the other client and modifies the variable as well.
I've been looking into how to make the variable triggers the function in all the clients without having to change the variable in each server version of the controller and I found the "REPLIFETIME" in which you can add a condition like "only replicates in autonomous proxy clients, or only in simulated proxy" and I tried to set that to None, so it would replicate to all of them, but I still get only one call to the function.
Could anybody explain me if there is something bad with my implementation, or if I understood the repnotify behaviour wrong, or if I do need to change the variable in each controller first to get the function to be called?
Im doing everything in c++
if you need code I can paste it but I don't have it atm. anyway it would be like
asked Jul 16 '15 at 09:56 AM in C++ Programming
Follow this question
Once you sign in you will be able to subscribe for any updates here