Verse Library verse

19 On Your Own

Core device class storing game state, configurable triggers, timers, and sequence arrays.

extracted-snippets/documentation/en-us/uefn/party-game-4-manager-in-unreal-editor-for-fortnite/19-on-your-own.verse

# Source URL: https://dev.epicgames.com/documentation/en-us/uefn/party-game-4-manager-in-unreal-editor-for-fortnite
# Local doc:  epic-docs/documentation/en-us/uefn/party-game-4-manager-in-unreal-editor-for-fortnite.md
# Section:    On Your Own
    using { /Fortnite.com/Characters }
    using { /Fortnite.com/Devices }
    using { /Fortnite.com/Game }
    using { /UnrealEngine.com/Temporary/Diagnostics }
    using { /Verse.org/Random }
    using { /Verse.org/Simulation }

    tiltnboom_log_channel := class(log_channel){}

    # A Verse-authored creative device that can be placed in a level
    tiltnboom := class(creative_device):

        Logger:log = log{Channel := tiltnboom_log_channel}

        # Trigger used to activate this game. The trigger can be triggered by anything such as a teleporter to the game, or after an intro cinematic.
        @editable
        ActivateGameTrigger:trigger_device = trigger_device{}

        # Trigger used to end this game. Used to remove camera and control devices from players after the game is over.
        @editable
        EndGameTrigger:trigger_device = trigger_device{}

        # The Timer Device used to end the game after a certain amount of time.
        @editable
        GameTimer:timer_device = timer_device{}
        
        # Array of Sequences, where each sequence is a different cannonball landing position.

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