Specialized trigger_base_device that will fire output events based on line of sight between agents and the device.
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. |
trigger_base_device |
Base class for various specialized trigger devices. See also: |
Members
This class has both data members and functions.
Data
| Data Member Name | Type | Description |
|---|---|---|
AgentLooksAtDeviceEvent |
listenable(payload) |
Signaled when an |
AgentLooksAwayFromDeviceEvent |
listenable(payload) |
Signaled when an |
DeviceLosesSightOfAgentEvent |
listenable(payload) |
Signaled when this device loses direct line of sight to an |
DeviceSeesAgentEvent |
listenable(payload) |
Signaled when this device has direct line of sight to an |
Functions
| Function Name | Description |
|---|---|
Disable |
Disables this device. |
Enable |
Enables this device. |
GetLookingAtDeviceAgents |
Returns an array of agents that are currently of the class defined by this device. |
GetMaxTriggerCount |
Gets the maximum amount of times this device can trigger.
|
GetPerceivedAgents |
Returns an array of agents that are currently of the class defined by this device. |
GetResetDelay |
Gets the time (in seconds) before the device can be triggered again (if |
GetTransform |
Returns the transform of the |
GetTransmitDelay |
Gets the time (in seconds) which must pass after triggering, before this device informs other external devices that it has been triggered. |
GetTriggerCountRemaining |
Returns the number of times that this device can still be triggered before hitting |
IsLookingAtDevice |
Succeeds when |
IsPerceived |
Succeeds when |
MoveTo |
Moves the |
MoveTo |
Moves the |
Reset |
Resets the number of times this device has been activated. This will set |
SetMaxTriggerCount |
Sets the maximum amount of times this device can trigger.
|
SetResetDelay |
Sets the time (in seconds) after triggering, before the device can be triggered again (if |
SetTransmitDelay |
Sets the time (in seconds) which must pass after triggering, before this device informs other external devices that it has been triggered. |
TeleportTo |
Teleports the |
TeleportTo |
Teleports the |