BP Interface double take

Blueprint Interface question… how to prevent to take 2 itmes for example at once and only send to one bp instead of all overlapping with implemented Interface(if they stand side by side?

This is what i use:

It looks ok, no?

Yes works, but if i stay close to 2 bps which implements the interface i take all at once. I would need to just take 1 at a time even if they are overlapping

Like this:

or


If you want this to be safer, you can use an addition reference:

Probably an overkill here, though.

Nice, i try it in a few hours and get back to you. Thanks

sooo, i tried all 3 Options and it is still taking both bps. So its sending to both overlapping actors…

Show script.

tried here also to double break it but … cant get it working

Can you show a larger, clearer picture with the actual call?

This makes no sense:

image

Why do this?


afte her i call the message and play a animation on the executing player. Its about pickickg up another player

Remove the sequence. Put a Print String here:

Disconnect rest of the script, how many times does it print?

Screenshot 2022-11-04 100651
tired without sequence,still. And it is printing only once

This means we’re calling it only for 1 actor. Something else, unrelated to this, is causing it.

Found it… i just had to hook the new variable in the interface message, lol. ok thanks a lot

1 Like