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. |
Functions
| Function Name | Description |
|---|---|
Activate |
Randomly generate a number between Value Limit 1 and Value Limit 2.
|
Activate |
Randomly roll a number within the configured min + max value range.
|
Cancel |
Cancels the active number generation. |
Disable |
Disables this device. |
Enable |
Enables this device. |
GetTransform |
Returns the transform of the |
MoveTo |
Moves the |
MoveTo |
Moves the |
TeleportTo |
Teleports the |
TeleportTo |
Teleports the |