I've got a player character and NPC in UDK, each with their own pawns and controllers. I want to, within the NPC's controller, trigger a function in the player's controller, but I only have the player's pawn as a reference.
I've tried googling and looking through documentation for an answer, but have been unlucky. I also tried something like this:
Since I know we can refer to the Pawn from a controller or an actor, but I got an error:
Triggers the error: "Unrecognised member 'BeStunned' in class 'Controller'. This happens even though I have a BeStunned function inside MyController.
Any help for a newbie short on luck would be most appreciated!
Edited by Sammieo, 10 March 2013 - 04:06 PM.