Togglie Light Visibility Not Working

I am trying to turn on a light when a puzzle is solved, however, the light is not turning on… Please help!



1 Like

Put a print string in there, I suspect the event is not getting called.

yeah print string didn’t work. I’ve added a custom event that has the toggle visibility and switch out the one in add code for that custom event. Now all I am missing is event begin play (call custom event) but when I do that it turns on right away so I would need something that says only call if puzzle is correct in event begin play as well right?

What I mean is, you never get to that piece of code, there’s something wrong with the logic :wink:

lmao okay thanks :slight_smile: I’ve been learning BP slowly, emphasis on slowly lol BUT IM DETERMINED! I started watching tutorials to further explain the actual BP system such as this one https://www.youtube.com/watch?v=W0brCeJNMqk

Anyway i’ll do some more studying before I keep going so I have a better understanding of what I’m doing. THANKS!

I think maybe ‘add code’ is not even being called. Try print strings all over the place :smiley:

Yah, it’s really not… lol I followed this tutorial, https://www.youtube.com/watch?v=HFarVFT6KgA

And just tried to switch out the open door for the turn on light

1 Like

I have altered the blueprint and simplified it by a lot and it works now… you die and respawn on bad ones and light turns on on the good ones, and it works!

1 Like

Excellent! :slight_smile:

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