Beginner: Blueprint setup not working as intended.

Hey guys,

I was wondering if you could help me with some Blueprint logic I’m struggling with. Feels like it should be pretty simple. I want to have a light switch that when interacted with it will increase the intensity of the light. I have two blueprints actors set up for this. Blueprint

Actor 1: This contains the light switch. When the user is in the volume of the light switch they can press E which should set the intensity of the light.

Blueprint Actor 2: This contains the light. Here is a custom event that set’s the intensity of the light. However this does not work. Here is my set up (edited)


1 Like

Change this to ‘get actor or class ( item spawn )’

image

The player is doing the overlap, not the light.

Hi Stephen,

Another thing to check:

In your BP_ItemSwitch you may need to set ‘Auto Receive Input’ from Disabled to Player 0

(Reason for this as the default is in bigger projects you’d need to be strict about input handling)

Will you be interacting with this one light switch and this one light switch only, ever? Or will there be more light switches? Or perhaps even other things to interact with?

This worked. Thank you. :slight_smile:

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.