Announcement

Collapse
No announcement yet.

Editing playercontroller blueprint

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Editing playercontroller blueprint

    Is there a way to edit the playercontroller's blueprint?
    I'm trying to make a script that lets me switch certain hud elements when I press right click, and if I do it in my FPSCharacter's blueprint, it says that self (FPSCharacter) isn't a playercontroller, therefore target must have a connection.
    Soo.. Is there a workaround to this?
    I'm a complete noob in UE4, so sorry if the solution is obvious!

    #2
    Make a new blueprint derived from PlayerController and set it as the Default Player Controller Class in your game mode. Then you can do this script in your player controller blueprint.

    The other option is to add a Get Player Controller node then do Get HUD off of that.

    Comment

    Working...
    X