VerseIsland
FeedLearnLeaderboardGuidesReferenceExploreSearchDocsVerse Library
Sign in
Feed Learn 📖 Codex Leaderboard Guides Reference Explore Search Docs Verse Library
Browse Community Snippets›Materials/VFX·Up to Community Snippets · Materials/VFX·5 of 13 in Materials/VFX

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 Discord — free for members Read the original at Epic Games documentation

Sign in with your BrainDead.TV / BrainDeadGuild Discord account for full access.

Guided course

Add this to your free study plan — we’ll suggest related material and stitch it into one compile-checked lesson.

Keep exploring
More in Materials/VFX · 5 of 13
Prev
fortnite uefn verse simple 1v1 round manager spawn reset score
Next
fortnite depth cullface translucency object material functions

Source

Epic Games documentation

Bizanator

MIT

View original
VerseIsland· an archipelago of Verse & UEFN knowledge
🗺️ Island atlasLearnGuidesHistoryAbout & PressSources & LicensingPrivacy PolicyTermsStatus

Not affiliated with Epic Games. Fortnite, UEFN, Unreal Engine, and Verse are trademarks of Epic Games, Inc. Content is attributed to its source — see Sources & Licensing.

🦜

Scout · your island guide

The Isle of Verse