Announcement

Collapse
No announcement yet.

Replication Server/Client

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Replication Server/Client

    Hey there,
    I'm trying to get a simple pointlight going for Multiplayer usage. I want the switch to toggle the light whenever a player (client or server) triggers it.

    At the moment I've got a Custom Event in my PlayerController Class which is fired whenever the Trigger is used. The Custom Event got the Light to toggle as a parameter and whenever it is fired it checks for Authority and then toggles the light.
    However when testing it the Server can use the Trigger and the light toggles on/off (on the Server-Window), but the client one doesn't.
    The same is true for the Client: When I use the Trigger with my Client-Window the Server's Light comes on, but the Client's doesn't.

    I don't know where my mistake is. Could you help me solve that issue? Thank in advance

    Click image for larger version

Name:	2014-09-24 18_52_20-Skype.png
Views:	1
Size:	74.2 KB
ID:	1138781
    Click image for larger version

Name:	2014-09-24 18_52_06-Skype.png
Views:	1
Size:	68.7 KB
ID:	1138782
Working...
X