Provides a way to keep track of the time something has taken, either for scoreboard purposes, or to trigger actions. It can be configured in several ways, either acting as a countdown to an event that is triggered at the end, or as a stopwatch for an action that needs to be completed before a set time runs out.
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 |
---|---|---|
FailureEvent |
listenable(payload) |
Signaled when the timer completes or ends with failure.
Sends the |
StartUrgencyModeEvent |
listenable(payload) |
Signaled when the timer enters Urgency Mode.
Sends the |
SuccessEvent |
listenable(payload) |
Signaled when the timer completes or ends with success.
Sends the |
Functions
Function Name | Description |
---|---|
ClearPersistenceData |
Clears this device's saved data for |
ClearPersistenceDataForAll |
Clears this device's saved data for all |
ClearPersistenceDataForAll |
Clears this device's saved data for all |
Complete |
Completes the timer for |
Complete |
Completes the timer. |
CompleteForAll |
Completes the timer for all |
CompleteForAll |
Completes the timer for all |
Disable |
Disables this device for |
Disable |
Disables this device. While disabled this device will not receive signals. |
Enable |
Enables this device for |
Enable |
Enables this device. |
GetActiveDuration |
Returns the remaining time (in seconds) on the timer for |
GetActiveDuration |
Returns the remaining time (in seconds) on the timer if it is set to be global. |
GetMaxDuration |
Returns the maximum duration of the timer (in seconds). |
GetTransform |
Returns the transform of the |
IsStatePerAgent |
Succeeds if this device is tracking timer state for each individual |
Load |
Loads this device's saved data for |
MoveTo |
Moves the |
MoveTo |
Moves the |
Pause |
Pauses the timer for |
Pause |
Pauses the timer. |
PauseForAll |
Pauses the timer for all |
PauseForAll |
Pauses the timer for all |
Reset |
Resets the timer back to its base time and stops it for |
Reset |
Resets the timer back to its base time and stops it. |
ResetForAll |
Resets the timer back to its base time and stops it for all |
ResetForAll |
Resets the timer back to its base time and stops it for all |
Resume |
Resumes the timer for |
Resume |
Resumes the timer. |
ResumeForAll |
Resumes the timer for all |
ResumeForAll |
Resumes the timer for all |
Save |
Saves this device's data for |
SetActiveDuration |
Sets the remaining time (in seconds) on the timer, if active, on |
SetActiveDuration |
Sets the remaining time (in seconds) on the timer, if active. Use this function if the timer is set to use the same time for all |
SetLapTime |
Sets the lap time indicator for |
SetLapTimeForAll |
Sets the lap time indicator for all |
SetLapTimeForAll |
Sets the lap time indicator for all |
SetMaxDuration |
Sets the maximum duration of the timer (in seconds). |
Start |
Starts the timer for |
Start |
Starts the timer. |
StartForAll |
Starts the timer for all |
StartForAll |
Starts the timer for all |
TeleportTo |
Teleports the |
TeleportTo |
Teleports the |