Multiplayer and pawns possessing
Guys, I need your help. Can someone explain how to control pawn (which is existing on the server) by using client's input. I want client to be able to possess pawn on server like usuall pawn. I've tried RPC only Multicast called by client cause some effect(but incorrect effect).
asked Nov 27 '16 at 08:12 PM in Blueprint Scripting
Use a "Run on Server" RPC in the player controller. Call the event from the client side based on some action. I use a key press event. Then on the server side call Possess. It will automatically be replicated to all clients. I do this all the time in my game. I can possess any Character I click on (Player or Enemy).
answered Nov 27 '16 at 09:44 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here