Announcement

Collapse
No announcement yet.

Make a widget being owned by a specific player in multiplayer

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

    Make a widget being owned by a specific player in multiplayer

    Hello there,
    So first, sorry for my bad English ^^

    I'm working on a multiplayer project.
    I want to get a trigger that, when a player enters, gets a widget with the message "press E to interact with".
    The problem is that when a player enters the trigger, the widget belongs to all players and not just to the player who activated the trigger.
    I tried some solutions, but I do not really know: p.
    if you can help me, I'll be really greatful ^^

    #2
    The overlap will happen on all client instances so you need to filter out events that are applicable to the pawn that your PlayerController "owns".

    Do a check, e.g. "Is Owning Actor" which if true, you can show the widget.

    Comment


      #3
      I think i understood what i have to do but i don't really know how to do it.
      I tried this but it doesn't work

      Comment


        #4
        I think I understand what I have to do, but I do not really know how to do it.
        I tried that, but it does not work.

        Comment


          #5
          Ok I found the solution

          Comment

          Working...
          X