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