Link Search Menu Expand Document

GetLocalPlayerController

Function name GetLocalPlayerController
Function Library Content/DRGLib/DRGFunctions/LIB_F_DRG
Outputs ReturnValue(PlayerController object reference) Returns the local player controller

This function gets the local player controller (i.e. the one controlled on this PC).

Note this returns the player controller, not the Dwarf actor. To get a reference to that you can use “Get Controlled Pawn” off of the PlayerController reference

Example usage:
Example image