This device is used to associate changes in progression with a mesh transition. As the device's progression changes, it will transition between a set of defined meshes. The ThresholdMesh field can be found under the 'Visuals' category on an instance of a progress_based_mesh_device in Unreal Editor Fortnite.
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 |
|---|---|---|
CurrentProgress |
?float |
The current progress this device has made towards its ProgressTarget. This value will be clamped between 0 and Progress Target. Modifying this value will cause changes Mesh Changes corresponding to your defined ThresholdMeshes. |
EmptyEvent |
listenable(payload) |
This event is fired whenever 'CurrentProgress' reaches 0. |
FillEvent |
listenable(payload) |
This event is fired whenever 'CurrentProgress' reaches the 'ProgressTarget'. |
ProgressChangeEvent |
listenable(payload) |
This event is fired whenever 'CurrentProgress' value gets changed, whether through direct modification, or as a result of the Progress or Regress state. |
ProgressRate |
?float |
This value maps to the 'ProgressRate' user option. When this device is in the Progress state, 'CurrentProgress' will be increased by this value per second until it reaches the 'ProgressTarget'. Utilizing this value is not required, as 'CurrentProgress' can also be modified directly. |
ProgressState |
?progress_device_state |
The current state of this device. |
ProgressTarget |
?float |
This value maps to the 'ProgressTarget' user option. The target Progress goal of this value. Setting this value will clamp it between 0 and 100. If 'ProgressTarget' is set to a value lower than 'CurrentProgress', 'CurrentProgress' will be clamped to 'ProgressTarget', and fire any threshold related events. |
ProgressThresholdCrossEvent |
listenable(payload) |
This event fires whenever this device changes meshes as a result of 'CurrentProgress' value causing a new Threshold to be met.The ThresholdMeshe field can be found under the 'Visuals' category on an instance of a progress_based_mesh_device in Unreal Editor Fortnite. |
RegressRate |
?float |
This value maps to the 'RegressRate' user option. When this device is in the Regress state, 'CurrentProgress' will be decreased by this value per second until it reaches the 0. Utilizing this value is not required, as 'CurrentProgress' can also be modified directly. |
Functions
| Function Name | Description |
|---|---|
GetTransform |
Returns the transform of the |
MoveTo |
Moves the |
MoveTo |
Moves the |
TeleportTo |
Teleports the |
TeleportTo |
Teleports the |