Creating an electrical system with flow control
The game I'm currently creating is a horror game set in an electrical facility underground. I want to be able to control lights and doors based on common in-game switches, breakers and by the state of the main transformer.
For example, one floor of the map is powered, and you can turn on and off lights with a switch on the wall. But in another floor has no transformer running, thus the lights should always be kept off no matter how many times you press the light switch. Like this, I want to create a branching system where all of the branches have to be "true" for the light to work.
I thought it would be best to give all kinds of switches a boolean output, and all lamps a boolean input. Then, in the level blueprint, I can connect these as I wish with flow control. Howerever, I'm new to blueprints, and i don't really know how to make the blueprints communicate. Is there a way to check if an actor (the switch) in the level is true or false? How would you do that?
asked May 16 '17 at 09:15 PM in Blueprint Scripting
Aaand finally managed to work something out. Let me know if you're asking for the same thing.
answered Nov 14 '18 at 09:21 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here