Verse Library verse

01 Device

Defines the Creative Device class structure and declares editable properties for connected gameplay devices.

verse-library/verse-devices-common-devices/01-device.verse

using { /Fortnite.com/Devices }
using { /Verse.org/Simulation }

reward_station := class(creative_device):

    @editable
    RewardButton : button_device = button_device{}

    @editable
    PrizeGranter : item_granter_device = item_granter_device{}

    @editable
    RoundTimer : timer_device = timer_device{}

Comments

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