Verse API reference page for the SetValue function
Updates stat Value for Team.
Succeeds if Scope is set to Team and Team 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>(Team:team, Value:int)<transacts><decides>:void
Parameters
SetValue takes the following parameters:
| Name | Type | Description |
|---|---|---|
Team |
team |
|
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 your BrainDead.TV / BrainDeadGuild Discord account for full access.