Download

Communication between PlayerController and PlayerCameraManager

Hello to all UE4 developpers !

I try to communicate with “Event Dispatcher”, but I am unable to get the Event Dispatcher reference in the PlayerCameraManager subclass.

I set “TestEventDispatcher” in the PlayerController :
http://www.hostingpics.net/viewer.php?id=448902HFRPlayerController.jpg

But the Event Dispatcher reference is not showing in the PlayerCameraManager :
http://www.hostingpics.net/viewer.php?id=373765HFRPlayerCameraManager.jpg

What is the correct method to do this ?

Found the trick :

  1. Link the “Get Player Controller” node output to a PlayerController subclass casting node.

  2. Drag a link from the object output casting node to the empty grid space.

  3. The BP actions menu is showing, with the required Event Dispatcher actions available.

  4. Assign the required Event Dispatcher : http://www.hostingpics.net/viewer.php?id=830131HFRPlayerCameraManager2.jpg