Target level actor not working

I have this control panel:

This one activates one speaker when pressed, and that speaker (speakersBP1) is given by the varible “target” that is a public variable, so this specific panel controls that specific speaker and it works like i want it to

BUT

if i duplicate that control panel actor and and change the “target” variable to other speaker (speakersBP2) this last pair (panel2+speaker2) works but the first pair that worked before now doesnt work:

How can i make this system work? i want that each control panel has a specific controlled speaker

This is the control panel BP:

This is the speaker BP:

PS: “scp” stands for sound control panel, and also im using a point light instead of an actual sound as a visual reference to that sound

Is this all triggered by a key or mouse event perhaps?

Have you unchecked ‘consume input’?

it is triggered by pressing E when overlapping with collision box.

What is the consume input?

Screenshot_1

I have unchecked it and it still doesnt work

Put a print string after the keyboard node. You should get 2 printouts. If you don’t it’s still the ‘consume input’ problem.

I get both prints with either checked or unchecked…

I don’t get it, it looks fine.

I’m just checking, the two controllers are copies ( instances ) of the same blueprint?

Yes they are.

But i figure it out, it was on the player charecter blueprint (on the key pressed part), i had a “for each” node that was conected on the completed instead of loop body, once i change it started working fine.

Thank you for the help

1 Like