Verse Library verse

01 Using Omega Synthesizer In Verse

Disables and re-enables the Patchwork Omega Synthesizer device after delays. Use to control audio playback in creative.

extracted-snippets/documentation/en-us/fortnite-creative/using-patchwork-omega-synthesizer-devices-in-fortnite-creative/01-using-omega-synthesizer-in-verse.verse

# Source URL: https://dev.epicgames.com/documentation/en-us/fortnite-creative/using-patchwork-omega-synthesizer-devices-in-fortnite-creative
# Local doc:  epic-docs/documentation/en-us/fortnite-creative/using-patchwork-omega-synthesizer-devices-in-fortnite-creative.md
# Section:    Using Omega Synthesizer in Verse
using { /Fortnite.com/Devices }

using { /Verse.org/Simulation }

using { /UnrealEngine.com/Temporary/Diagnostics }

# A Verse-authored creative device that can be placed in a level

omega_synthesizer_example := class(creative_device):

    @editable

    OmegaSynthesizer:patchwork_omega_synthesizer_device = patchwork_omega_synthesizer_device{}

    # Runs when the device is started in a running game

    OnBegin<override>()<suspends>:void=

        

        Sleep(5.0)

        OmegaSynthesizer.Disable()

        Print("Device Disabled")

        Sleep(5.0)

Sign in free to read the full source 🌴

This Verse Library file is members-only. Create a free account to view the complete source and download the .verse file.

Sign in with Discord

Comments

    Sign in to vote, comment, or suggest an edit. Sign in