How can i have a specific player be able to trigger something but no other player is able to
On overlap, or on hit, or whatever the “event” is, cast to “player character” or whatever the specific player is that you want it to work with, and off the “true” execution pin which is the top one on the cast node, execute your script.
you just need to get a reference to the particular player using the get player character node. then you can compare it to the overlapping actor if your using a triggerbox or collision volume.
- Open the player blueprint
- Type Event On Begin Overlap
- Now you will get a bunch of information right there, drag the actor node, cast it into the expected type (Say cast it into BaseAI character) and then do your logic there.