A device that generates a scoreboard stat that can be used by the game to determine Game End and Round End conditions. The stat can apply to individual players, teams, or everyone in the match. It can also generate a Level that will increment by 1 each time Value reaches Max Value, resetting Value to 0 when Level increments.
Verse using statement |
using { /Fortnite.com/Devices } |
Inheritance Hierarchy
This class is derived from the following hierarchy, starting with creative_object
:
Name | Description |
---|---|
creative_object |
Base class for creative devices and props. |
creative_device_base |
Base class for creative_device. |
Members
This class has both data members and functions.
Data
Data Member Name | Type | Description |
---|---|---|
LevelChangedEvent |
listenable(payload) |
Signaled when the stat changes Level.
Sends a tuple of the instigating |
MaximumReachedEvent |
listenable(payload) |
Signaled when an |
ValueChangedEvent |
listenable(payload) |
Signaled when the stat changes Value.
Sends a tuple of the instigating |
Functions
Function Name | Description |
---|---|
GetLevel |
Returns stat Level for |
GetLevel |
Returns stat Level for |
GetLevelForMatch |
Returns stat Level for the match. Succeeds if Number of Levels is set to greater than 0 and Scope is set to Match. |
GetName |
Returns the name for the stat that is generated by this Stat Creator. |
GetTransform |
Returns the transform of the |
GetValue |
Returns stat Value for |
GetValue |
Returns stat Value for |
GetValueForMatch |
Returns stat Value for the match. Succeeds if Scope is set to Match. |
MoveTo |
Moves the |
MoveTo |
Moves the |
SetLevel |
Updates stat Level for |
SetLevel |
Updates stat Level for |
SetLevelForMatch |
Updates stat Level for the match. Succeeds if Number of Levels is set to greater than 0 and Scope is set to Match . Altering stat Level will set the Match's stat Value to 0. |
SetValue |
Updates stat Value for |
SetValue |
Updates stat Value for |
SetValueForMatch |
Updates stat Value for the match.
Succeeds if Scope is set to Match.
If the stat does not have levels, |
TeleportTo |
Teleports the |
TeleportTo |
Teleports the |