Block out time to build with the LEGO® Assembly device to create configurations where players can build and disassemble props in your LEGO Islands with the press of a single button! Set up the interaction radius on this device to turn prop pieces it covers into holograms for players to assemble.
Through Verse, you can even set up props for players to disassemble. Design a world where players will never have to worry about stepping on Lego bricks as they watch their builds neatly fall into place. Enjoy the bricks raining down!
With the Assembly device, you can even hide props and dynamically turn off their collision to create progression-based building mechanics.
You can only assemble LEGO brick props with this device, though all props can be temporarily hidden.
Fully engulf players in your buildable simulations by configuring audio and visual effects to signify a completed build. You can even use cinematic cutscenes in your interactions.
Use this device to create tycoon-styled gameplays where players can collect currencies and unlock quests by assembling props. You can also customize settings to create events that trigger after successfully completing a build. Test out this device in the LEGO Home Builder template as you combine both LEGO and Fortnite assets to create new environments.
If you're using multiple copies of a device on an island, it can be useful to rename them. Choosing names that relate to a device's purpose makes it easier to remember what each one does, and easier to find a specific device when using the Event Browser.
Device Access
The Assembly device is available in LEGO Islands for Fortnite Creative and Unreal Editor for Fortnite (UEFN).
You can find the device in the following locations:
Creative: Creative Menu > Content > LEGO® Content > Devices > Assembly Device
UEFN: Content Drawer > LEGO® Content > Devices > Assembly Device
To learn the fundamentals of how to access, place, and adjust settings for a device, see Using Devices.
Contextual Filtering
Some devices are affected by a feature called contextual filtering. This feature hides or displays options depending on the values selected for certain related options. This reduces clutter in the Customize panel and makes options easier to manage and navigate. To help identify them, values that trigger contextual filtering are in italic.
All options are listed, including those affected by contextual filtering. If an option is hidden or displayed based on a specific value, there will be a note about it in the Description field for that option in the table below.
Device Options
Default values are bold. Values that trigger contextual filtering are italic.
You can configure this device with the following options.
Option | Value | Description |
---|---|---|
Selection Radius | 100.0, Enter an amount | Actors within the selection radius are assembled and disassembled by the device. |
Assembly Time | 1.0s, Enter an amount | The time it takes to assemble and disassemble a prop. Measured in seconds. |
Held Interaction | True, False | Determines if assembling or disassembling is a continuous action or single click. True stops the assemble or disassemble when a player releases the input key. |
Held Interaction Reset | True, False | Determines if build progress is reset when the interaction is interrupted. This option is only available when Held Interaction is set to True. |
Collison | Always On, Off if Disassembled | Determines how to handle collision of an actor when the device is disassembled.
|
Enabled During Phase | None, Always, Pre-Game Only, Gameplay Only | Determines the game phase the device is enabled in. A disabled device can not be directly interacted with but responds to events. |
Selection Volume Shape | Sphere, Select a static mesh | Sets the static mesh to use for detecting what objects this device will affect. |
Start Game Assembled | True, False | Determines the state the device starts the game in. |
Show Hologram | True, False | Determines if a preview of the fully assembled actors while disassembled. |
Preview Material | M_VFX_PreviewHologram, Select a material | Sets the material to use for the unassembled preview hologram. |
Direct Event Binding
The following are the direct event binding options for this device.
Functions
A function listens for an event on a device then performs an action.
To create or edit a function, follow these steps:
Open the device settings, and click a function option.
Click ADD, then click Select Device to access and select from the Device dropdown menu.
Click Select Event to bind the device to an event that triggers the function for the device.
If more than one device or event triggers a function, click the Add button to add a line and repeat these steps.
Functions | Description |
---|---|
Enable | Activates the device when receiving the set event. |
Disable | Deactivates the device when receiving the set event. |
Reset | Reverts the device to its initial state when an event occurs. |
Stop | Pauses the assembling or disassembling of the device when receiving an event. |
Assemble | Starts to assemble the prop when receiving the event. |
Disassemble | Starts to disassemble the prop when receiving the event. |
Show Hologram | Shows the hologram when receiving the event. |
Hide Hologram | Hides the hologram when receiving the event. |
Events
An event tells another device when to perform a function.
To create or edit an event, follow these steps:
Open the device settings, and click an event option.
Click Add, then Select Device to access and select from the Device dropdown menu.
Click Select Function to bind this event to a function for that device.
If more than one function is triggered by the event, click Add to add a line and repeat these steps.
Events | Description |
---|---|
On Enabled | Sends an event to the linked devices when the Assembly device is active. |
On Disabled | Sends an event to the linked devices when the Assembly device is deactivated. |
On Assembled | Sends an event to the linked devices when the prop within the selection radius is fully assembled. |
On Disassembled | Sends an event to the linked devices when the prop within the selection radius is fully disassembled. |
Using LEGO Assembly Device In Verse
You can use the code below to control a LEGO Assembly device in Verse. This code uses features of the Assembly device API to hide, assemble, and disassemble props. You can modify it to fit the needs of your experience.
using { /Fortnite.com/Devices }
using { /Verse.org/Simulation }
using { /UnrealEngine.com/Temporary/Diagnostics }
# See https://dev.epicgames.com/documentation/en-us/uefn/create-your-own-device-in-verse for how to create a verse device.
# A Verse-authored creative device that can be placed in a level
HideThenBuild := class(creative_device):
To use this code in your LEGO Island, follow these steps:
In UEFN, drag an Assembly device onto your island.
Create a new Verse device named assembly_example_device. To learn how to create a new device in Verse, see Create Your Own Device Using Verse.
Open Verse Explorer, and double-click assembly_example_device.verse to open the script in Visual Studio Code.
Paste in the code above, compile, and drag the device onto your island.
In the Content Drawer, search and add the Button device to your island twice.
Name one button "Assemble" and the other "Disassemble".
Select your Verse device in the Outliner.
In the device's Details panel, assign the object references for Hide Then Build to the Assembly device, buttons, and props on your island. You can use the eyedropper to pick the device in the viewport, or use the dropdown and search for the device.
Save your project, and click Launch Session.
You can only view the Verse API for the Assembly device in the Verse digest file when you are in a LEGO Island because the device is only available for LEGO Islands.