Used to move around a building or prop, and customize responses to various collision event types.
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 |
---|---|---|
AgentHitEvent |
listenable(payload) |
Signaled when the prop hits an |
AIHitEvent |
listenable(payload) |
Signaled when the prop hits a creature, animal, or NPC. |
BeganEvent |
listenable(payload) |
Signaled when the prop movement begins. |
DisabledEvent |
listenable(payload) |
Signaled when this device is disabled. |
EnabledEvent |
listenable(payload) |
Signaled when this device is enabled. |
EndedEvent |
listenable(payload) |
Signaled when the prop movement ends. |
FinishedEvent |
listenable(payload) |
Signaled when the prop reaches its destination. |
MovementModeChangedEvent |
listenable(payload) |
Signaled when the prop changes its direction. |
PropHitEvent |
listenable(payload) |
Signaled when the prop hits another prop. |
Functions
Function Name | Description |
---|---|
Advance |
Moves the prop forward based on this device's default configuration, ignoring the prop's previous movement. |
Begin |
Begins the prop moving. |
Disable |
Disables this device. |
Enable |
Enables this device. |
End |
Ends the prop moving. |
GetTargetDistance |
Returns the total distance (in meters) that the prop will move. |
GetTargetSpeed |
Returns the speed (in meters per second) at which the prop mover will move the prop to its destination. |
GetTransform |
Returns the transform of the |
MoveTo |
Moves the |
MoveTo |
Moves the |
Reset |
Moves the prop to its original position. |
Reverse |
Reverses the prop's moving direction. |
SetTargetDistance |
Sets the total distance (in meters) that the prop will move. |
SetTargetSpeed |
Sets the speed (in meters per second) at which the prop will move to its destination. |
TeleportTo |
Teleports the |
TeleportTo |
Teleports the |