Announcement

Collapse
No announcement yet.

How do i get the controlling player?

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

    How do i get the controlling player?

    in my bp im trying to get the owning player. there are multiple players but i just want to affect it one by one. i tried for each loop.

    ]my goal is. when team A capture base it will only notify team A. now when both Team A and B are in for eachloop. it now notifies all. so im trying different ways to just notify one by one, without the foreach loop. bec. as long as the capture base team is in the array it will notify all. so im trying to find way to do it one by one. i try to get the pawn owner so that it will only affect this specific player. hope im not too confusing. so my goal is how do i get the individual owner?



    #2
    The way I handled something similar is I created a child blue print for each player that spawned. So there was a Blue_A, Blue_B, Blue_C, Red_A, Red_B, Red_C . Then I set a variable in each one stating what it's name was and did a name check before sending out whatever message/content I wanted to send.

    Comment

    Working...
    X