Player Controller from Game State

Barbo6.9
Tue, 13 Apr 2021 11:53:28 +0000
Character & Animation

Hey, so basically I have a multiplayer game, where players can activate an event from input. This event activates another one in Game State. However I need to know which Player Controller is activating inside the Game State, and I have no idea how to do this. Simply inputting ‘self’ in the Player Controller don’t provide unique references. Alternatively, accessing the Player State’s Player Controller would be useful but I don’t know how to do this either Is there simply some way the Player Controller can ‘notify’ the Game State of itself when the event is activated?

This probably sounds like a dumb question, but I’m really stuck, any help is appreciated thanks in advance.

2 posts - 1 participant