Verse Library verse

04 Adding The Verse Scripts

Races to handle detonation or disarming events and triggers corresponding actions.

extracted-snippets/documentation/en-us/uefn/verse-detonation-template-in-unreal-editor-for-fortnite/04-adding-the-verse-scripts.verse

# Source URL: https://dev.epicgames.com/documentation/en-us/uefn/verse-detonation-template-in-unreal-editor-for-fortnite
# Local doc:  epic-docs/documentation/en-us/uefn/verse-detonation-template-in-unreal-editor-for-fortnite.md
# Section:    Adding the Verse Scripts
         block:

                    # Wait for Bomb B to be armed

                    ArmingPlayer:= TimedObjectiveB.StartedEvent.Await()

                    Print("Bomb B Armed",?Duration:=5.0)

                   

                    # Used to know which beacons to enable and barrels need to explode

                    set BombState = bomb_state.BombBArmed

                   

                    # Disable the other Timed Objective device

                    TimedObjectiveA.Disable(ArmingPlayer)

                     # Disable map indicators for Bomb A

                    for (MapIndicator : BombAMapIndicators):

                        MapIndicator.Disable()

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