Trying to figure out how to do a lights out puzzle using widgets. I want to click a button and make the adjacent buttons activate or deactivate when clicked and will activate a door when all the buttons are activated but I can’t quite figure out how to do that.
This is more to the intermediate level. However, you can start by searching how blueprints communication works.
You can use the implementation of an inheritance, interface, event dispatcher, instances (direct), or hard/soft reference. You need to trigger the event inside the actor that you want an event to occur through one of these blueprint communication.
There is no right or wrong, it just depends on how you design your blueprint flow and your project scale as long as it works and does not affect too much performance. Afterall it’s blueprint that we talks about.