Verse Library verse

18 Testing Persistence With Devices

Defines a localized string template displaying player scores, wins, and losses for UI or chat.

extracted-snippets/documentation/en-us/uefn/persistent-player-statistics-in-unreal-editor-for-fortnite/18-testing-persistence-with-devices.verse

# Source URL: https://dev.epicgames.com/documentation/en-us/uefn/persistent-player-statistics-in-unreal-editor-for-fortnite
# Local doc:  epic-docs/documentation/en-us/uefn/persistent-player-statistics-in-unreal-editor-for-fortnite.md
# Section:    Testing Persistence with Devices
# Displays a player's stats on a billboard.
StatsMessage<localizes>(Player:agent, Score:int, Wins:int, Losses:int):message = "{Player}, Stats:\n  Score: {Score}\n Wins: {Wins}\n  Losses: {Losses}"

Comments

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