[Closed] Get Controller Index Multiplayer
I'm trying to call an event when the player overlaps the collision to switch the camera to the blueprint of a specific player on the multiplayer server but the event is calling only for the client1 which is player index = 0, Get player controller index = 0 independent of which client being 2,3,4 ... overlaps the collision only the client 1 responds
asked Dec 06 '18 at 01:37 AM in Blueprint Scripting
The question has been closed Mar 08 '19 at 11:31 PM by TheSubZer0 for the following reason:
The question is answered, right answer was accepted
You need to get the Controller of the player overlapping the collision, and use that.
Since you're calling it on the server, player index 0 will always be the 1st player that got in.
You need a dynamic pointer to whatever PlayerController possesses whoever overlapped the box.
answered Dec 06 '18 at 02:48 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here