Verse API reference page for the stat_creator_device class
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 agent (or false if none) and the new Level. |
MaximumReachedEvent |
listenable(payload) |
Signaled when an agent reaches the maximum stat value. This occurs when the stat reaches Max Value if the device has no levels, or Max Level if that option is set. Sends the agent that caused the stat event that changed the level and the new level as an int . |
ValueChangedEvent |
listenable(payload) |
Signaled when the stat changes Value. Sends a tuple of the instigating agent (or false if none) and the new Value. Value increases to a maximum of Max Value. If the stat has not yet reached Max Level then Value will reset to 0 and Level will increment by 1. |
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.