Verse API reference page for the rng_device class
Used to generate random numbers between a minimum and maximum value. Events are signaled when numbers are generated.
- Value Limit 1 is the minimum value for generation.
- Value Limit 2 is the maximum value for generation.
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 |
|---|---|---|
LoseEvent |
listenable(payload) |
Signaled when the generated number < Winning Value. |
RolledMaxEvent |
listenable(payload) |
Signaled when the generated number = maximum. |
RolledMinEvent |
listenable(payload) |
Signaled when the generated number = minimum. |
WinEvent |
listenable(payload) |
Signaled when the generated number >= Winning Value. |
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.