Can you attach a script to a Fortnite device?

ie, can you extend a fortnite device, or include a fortnite device in your own Verse script such that you can copy that device around your level?

More specifically (as a first step) I’m trying to add an @editable variable to a device. For example, giving an item spawner a reference to a capture area

You cannot “subclass” existing official Devices, but you can create your own creative_device and then reference official devices with @editable attribute.

You can even attach an official device to a prop in UEFN editor, then reference your prop in code, then move that prop around, thus moving the device.

1 Like