using { /Fortnite.com/Devices }
using { /Verse.org/Simulation }
# This is our main device.
# It holds our music devices.
music_device := class(creative_device):
# We add the devices here.
# They are like parts of a robot.
@editable
NoteSequencer : patchwork_note_sequencer_device = patchwork_note_sequencer_device{}
@editable
NoteProgressor : patchwork_note_progressor_device = patchwork_note_progressor_device{}
@editable
AudioGenerator : patchwork_audio_generator_device = patchwork_audio_generator_device{}
@editable
Speaker : patchwork_speaker_device = patchwork_speaker_device{}
# This is our function.
# It is like a button you press.
StartMusic() : void =
# First, we turn on the sequencer.
# It starts playing notes.
NoteSequencer.Enable()
# Next, we turn on the progressor.
# It changes the chords.
NoteProgressor.Enable()
Verse Library
verse
01 Device
Automatically starts a chain of music devices like sequencers and speakers when the island loads.
verse-library/using-patchwork-note-progressor-devices-in-fortnite-creative/01-device.verse
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.