Tagged Lights Puzzle
Tagged Lights Puzzle
A lights-out style puzzle: buttons toggle sets of lights discovered via a gameplay tag; solving the target pattern fires a trigger.
Original, compile-verified Verse by Bizanator (Biloxi Studios). Clean-room sample you can drop into a UEFN project and adapt.
-
# Tagged Lights Puzzle — Biloxi Studios Inc. # # A classic "lights out" style puzzle. Players press buttons; each button toggles # a specific set of lights. When every light matches the target pattern, the # puzzle is solved and a trigger fires. Lights are discovered at runtime via a # gameplay tag, so you don't have to wire each one by hand. # # Teaches: gameplay tags + GetCreativeObjectsWithTag, per-button event handler # objects, casting a creative object to a device type, storing & cancelling event # subscriptions, and a <decides> "is solved?" check used in a failure context. # # Setup: # * Tag every customizable_light_device in the puzzle with the puzzle_light tag. # * Fill Buttons with the button_device(s) players press. # * ButtonToLights[i] lists which light indices Buttons[i] toggles. # * TargetPattern / StartPattern length must match the number of tagged lights.
You're reading a preview
The full reference is free for BrainDeadGuild Discord members — sign in to read it all, or open the original at the source.
Sign in with your BrainDead.TV / BrainDeadGuild Discord account for full access.