Announcement

Collapse
No announcement yet.

I am willing to guess this is something I am missing.

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

    I am willing to guess this is something I am missing.

    Soo when I am using interfaces to let blueprints talk to each other I have to specify what blueprint the message will be talking to. Great. So how do I get the player controller without having the index mucking things up? Basically I am now dealing with a bug where player 0 always dies even if he kills the other player. Please tell me there is a solution to this that doesn't involve magic.


    - Russell Meakim AKA The Castle
    BLOG: https://steemit.com/@thecastle

    #2
    There is a node called "Get Controller" which returns the controller of this pawn (character is a child of pawn).

    This will return the owning player or AI controller which controls this specific pawn.

    Cheers

    Comment


      #3
      Originally posted by Erasio View Post
      There is a node called "Get Controller" which returns the controller of this pawn (character is a child of pawn).

      This will return the owning player or AI controller which controls this specific pawn.

      Cheers
      Yep that was it! Thank you so much its now working correctly! I am so close to setting up a fully functional game mode I can taste it!
      - Russell Meakim AKA The Castle
      BLOG: https://steemit.com/@thecastle

      Comment

      Working...
      X