Verse Library verse

01 Snippet

Handles player elimination by logging the event and distributing the next weapon to the opposing team.

extracted-snippets/documentation/en-us/fortnite/team-elimination-7-testing-multiplayer-using-the-sentry-device-in-verse/01-snippet.verse

# Source URL: https://dev.epicgames.com/documentation/en-us/fortnite/team-elimination-7-testing-multiplayer-using-the-sentry-device-in-verse
# Local doc:  epic-docs/documentation/en-us/fortnite/team-elimination-7-testing-multiplayer-using-the-sentry-device-in-verse.md
TestPlayerEliminated(Agent: ?agent) : void =
Print("Sentry Down!")
if(TeamPlayer := Agent?):
GiveNextWeapon(TeamPlayer)

Comments

    Sign in to vote, comment, or suggest an edit. Sign in