Verse Library verse

04 Disable Map Indicators For Bomb B

Manages bomb arm timing, disables competing objectives, and handles simultaneous detonation or disarm events using a race condition.

extracted-snippets/documentation/fortnite/verse-detonation-template-in-unreal-editor-for-fortnite/04-disable-map-indicators-for-bomb-b.verse

# Source URL: https://dev.epicgames.com/documentation/fortnite/verse-detonation-template-in-unreal-editor-for-fortnite
# Local doc:  epic-docs/documentation/fortnite/verse-detonation-template-in-unreal-editor-for-fortnite.md
# Section:    Disable map indicators for Bomb B
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