VerseIsland
Feed Learn Leaderboard Guides Explore Search Docs Verse Library
Sign in
Feed Learn Leaderboard Guides Explore Search Docs Verse Library
Fortnite › Devices · Up to Fortnite · Devices · 57 of 1369 in Devices
Browse Fortnite

Team Elimination 7 Testing Multiplayer Using the Sentry Device in Verse

Testing multiplayer game modes can be difficult due to the number of players involved, and you might not always have other people to play with. For this game mode, you can test eliminations in a single-player environment by using sentry devices. Because sentries have an EliminatedEvent you can subscribe to, they can act as enemy players for the purposes of testing your elimination code.

Follow these steps to grant weapons to players when they score an elimination on a sentry.

  1. Add a new method TestPlayerEliminated to the team_elimination_game class. This is called whenever a sentry is eliminated.

    |  |  |
    | --- | --- |
    |  | TestPlayerEliminated(Agent : ?agent) : void = |
    |  | Print("Sentry Down!") |
    

    TestPlayerEliminated(Agent : ?agent) : void = Print("Sentry Down!")

    Copy full snippet(2 lines long)

  2. In TestPlayerEliminated, check if the Sentry was eliminated by a player, and if it was, pass the eliminating player to GiveNextWeapon. Because TestPlayerEliminated already accepts an agent option as an argument, you know implicitly which player scored this elimination.

    |  |  |
    | --- | --- |
    |  | TestPlayerEliminated(Agent: ?agent) : void = |
    |  | Print("Sentry Down!") |
    |  | if(TeamPlayer := Agent?): |
    |  | GiveNextWeapon(TeamPlayer) |
    

You're reading a preview

The full reference is free for BrainDeadGuild Discord members — sign in to read it all, or open the original at the source.

Sign in with Discord — free for members Read the original at Epic Games

Sign in with your BrainDead.TV / BrainDeadGuild Discord account for full access.

Comments

    Sign in to vote, comment, or suggest an edit. Sign in
    📄
    Source
    Epic Games

    © Epic Games. Official Epic developer documentation, shown here as a reference with a link to the original. All rights remain with Epic Games. Terms ↗

    View original Sources & licensing
    Request removal
    Last updated May 12, 2026
    Keep exploring
    More in Devices · 57 of 1369
    Prev
    team elimination 2 finding devices at runtime in verse
    Next
    timer device design examples in fortnite
    Browse all files in this folder (A–Z)
    Next up
    • 3. In `OnBegin`, add a new `for` [loop
    • lapse code Copy full snippet(12 lines long)
    • In the [final step
    Related topics
    • Team Elimination Game In Verse Player
    • Team Elimination 6 Handling A Player Joining A Game In Progress In Verse Player
    • Team Elimination 1 Setting Up The Level In Verse Player
    • Random Sentry Fight In Fortnite Creative General
    • Random Sentry Fight In Fortnite Creative General

    Related

    Open in graph →

    Related topics

    • Team Elimination Game In Verse
    • Team Elimination 6 Handling A Player Joining A Game In Progress In Verse
    • Team Elimination 1 Setting Up The Level In Verse
    • Random Sentry Fight In Fortnite Creative
    • Random Sentry Fight In Fortnite Creative
    VerseIsland · an archipelago of Verse & UEFN knowledge
    Learn Guides History About & Press Sources & Licensing Status

    Not affiliated with Epic Games. Fortnite, UEFN, Unreal Engine, and Verse are trademarks of Epic Games, Inc. Content is attributed to its source — see Sources & Licensing.