Download

Choose character to pick up

Hi! I’ve create a Player controller blueprint, ai controller blueprint, and other ai controller for bad guys. And under each controller has few other character blueprints. When an actor overlap with the bad guys characters it should do nothing, but the other character overlap with it, it will do something.
So, my question is, with the overlap nodes, How to I use branch or other nodes so it has a option to do different response?
24b8809a86c40c790a2dfe93671da75884409e97.png

You can do this multiple ways. One would be to put a tag on the characters you want something to happen and check the other actor tag. If the tag is = to tag, then do whatever. If it is just a single player type game with one player and you only want it to do something when the player overlaps, you can just compare other actor to get player character, if they are = then do whatever.