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

Testing Multiplayer Using the Sentry Device

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 documentation

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

Guided course

Add this to your free study plan — we’ll suggest related material and stitch it into one compile-checked lesson.

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)

Source

Epic Games documentation

View original

Last updated 2026-05-12T22:17:44.965068+00:00

VerseIsland· an archipelago of Verse & UEFN knowledge
🗺️ Island atlasLearnGuidesHistoryAbout & PressSources & LicensingPrivacy PolicyTermsStatus

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.

🦜

Scout · your island guide

The Isle of Verse