VerseIsland
Feed Learn Leaderboard Guides Explore Search Docs Verse Library
Sign in
Feed Learn Leaderboard Guides Explore Search Docs Verse Library
Verse API › Devices · Up to Verse API · Devices · 871 of 1121 in Devices
Browse Verse API

Verse API reference page for the SetValue function

Updates stat Value for Agent. Succeeds if Scope is set to Agent and Agent passes the requirement checks on the device. If the stat does not have levels, Value is clamped between 0 and Max Value. If the stat does have levels, the Value is not clamped and setting a value below 0 or above Max Value will decrement or increment the level appropriately. e.g. if Number of Levels is 10, Max Value is 100 and you are currently level 0, a Value of 550 will set you to Level 5 and Value 50.

Verse using statement using { /Fortnite.com/Devices }

SetValue<public>(Agent:agent, Value:int)<transacts><decides>:void

Parameters

SetValue takes the following parameters:

Name Type Description
Agent agent
Value int

Attributes, Specifiers, and Effects

Specifiers

The following specifiers determine how you can interact with SetValue in your programs. For the complete list of specifiers, see the Specifiers Page.

Specifier Meaning
public The identifier is universally accessible. You can use this on modules, classes, interfaces, structs, enums, methods, and data.

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 14, 2026
    Keep exploring
    More in Devices · 871 of 1121
    Prev
    setvalue 1
    Next
    setvalueformatch
    Browse all files in this folder (A–Z)
    Next up
    • ### Specifiers
    • | `decides` | Indicates that the function can fail, and that calling this function is a [failable expression
    Related topics
    • setvalue Devices
    • Setvalue 1 Devices
    • Setvalue 1 Devices
    • Stat Creator Device Devices
    • Stat Creator Device Devices

    Related

    Open in graph →

    Related topics

    • setvalue
    • Setvalue 1
    • Setvalue 1
    • Stat Creator Device
    • Stat Creator Device
    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.