Used to create a button which can trigger other devices when an agent interacts with it.
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 |
---|---|---|
InteractedWithEvent |
listenable(payload) |
Signaled when an |
Functions
Function Name | Description |
---|---|
Disable |
Disables this device. |
Enable |
Enables this device. |
GetInteractionTime |
Returns the duration of the interaction required to activate this device (in seconds). |
GetMaxTriggerCount |
Returns the maximum amount of times this button can be interacted with before it will be disabled.
|
GetTransform |
Returns the transform of the |
GetTriggerCountRemaining |
Returns the number of times that this button can still be interacted with before it will be disabled. Will return |
MoveTo |
Moves the |
MoveTo |
Moves the |
SetInteractionText |
Sets the text that displays when an |
SetInteractionTime |
Sets the duration of the interaction required to activate this device (in seconds). |
SetMaxTriggerCount |
Sets the maximum amount of times this button can be interacted with before it will be disabled.
|
TeleportTo |
Teleports the |
TeleportTo |
Teleports the |