[Closed] 4.7.4 server only function replication does not fire. (Example project included)
I'm creating a simple clickable object that can be picked up in game. The idea is that you can click it to collect it. When clicked this will call the server only function that sets the collected and "collectedRotation" variables. Both of these are replicated. This should cause them to replicate down to the clients. When performed by the server this behaves as expected but when the client clicks the item, the event is never called on the server version of the object.
I've included a example project that includes the object in question. The general order of operations should be: Project Example
The question has been closed Apr 14 '15 at 04:32 PM by Justin.Dooley for the following reason:
No other input is being added to this question and it require too much reading for other to join in. This question is being closed and another more specific one is being asked.
I believe the problem you're running into is that replicated variables do not communicate from Client to Server, only from Server to Client, as described here:
For something like this, it might be better to use RepNotify functions. Let me know if you need any help setting that up.
Hope that helps!
answered Apr 03 '15 at 08:47 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here