How to send message to a specific player from a custom event that only executes on server?
Hi there, (sorry expose, had already put this together :/ ) so here we go, this is all you need:
The PlayerController runs on the owning client and on the server. So this is the place to put your replicated Event. So you just need to create the MessageReceived EventDispatcher. Your Widget with the TextBox: The widget just needs to listen for the Shout-out from the PlayerController when a Message arrives, so here we go:
happy to help, Marooney
well what you can do is to call your event from the player controller and pass a reference on your custome event, so when it runs on server, you can trigger a fuction in your player controler using this reference. hope it's clear enought and that it helps
answered Jul 26 '16 at 04:31 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here