Verse Library verse

03 Editing The Device Properties In Uefn

Defines a UEFN device class that toggles a prop visibility on a timed loop for platforming mechanics.

extracted-snippets/documentation/en-us/uefn/disappearing-platform-on-loop-using-verse-in-unreal-editor-for-fortnite/03-editing-the-device-properties-in-uefn.verse

# Source URL: https://dev.epicgames.com/documentation/en-us/uefn/disappearing-platform-on-loop-using-verse-in-unreal-editor-for-fortnite
# Local doc:  epic-docs/documentation/en-us/uefn/disappearing-platform-on-loop-using-verse-in-unreal-editor-for-fortnite.md
# Section:    Editing the Device Properties in UEFN
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
looping_disappearing_platform := class(creative_device):
# The amount of time to wait before toggling visiblity of the platform.
@editable
ToggleDelay:float = 2.0
# Reference to the platform in the level.
@editable
DisappearingPlatform:creative_prop = creative_prop{}

Comments

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