Verse Library verse

01 Using Hiding Prop Gallery In Verse

Custom device controlling hiding prop galleries and interactive button toggles.

extracted-snippets/documentation/en-us/fortnite/using-hiding-prop-gallery-devices-in-fortnite-creative/01-using-hiding-prop-gallery-in-verse.verse

# Source URL: https://dev.epicgames.com/documentation/en-us/fortnite/using-hiding-prop-gallery-devices-in-fortnite-creative
# Local doc:  epic-docs/documentation/en-us/fortnite/using-hiding-prop-gallery-devices-in-fortnite-creative.md
# Section:    Using Hiding Prop Gallery in Verse
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
hiding_prop_example_device := class(creative_device):
# References to the hiding prop devices in the level
# In the Details panel for this Verse device,
# set these properties to your Hiding Props Gallery devices.
@editable
HidingPropNoTravel : hiding_prop_device = hiding_prop_device{}
@editable
HidingPropTravel01 : hiding_prop_device = hiding_prop_device{}
@editable
HidingPropTravel02 : hiding_prop_device = hiding_prop_device{}
@editable
HidingPropTravel03 : hiding_prop_device = hiding_prop_device{}
# Button devices for activating functions
# In the Details panel for this Verse device,
# set these properties to your Button devices.
@editable
EnableHidingButton : button_device = button_device{}
@editable
EnableWobbleButton : button_device = button_device{}
@editable
EjectPlayerButton : button_device = button_device{}
@editable

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