Used to apply a cosmetic disguise to the player. The disguise to apply is defined on the device, as are the conditions for when the disguise breaks.
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. |
Exposed Interfaces
This class exposes the following interfaces:
| Name | Description |
|---|---|
enableable |
Implemented by classes whose instances can be enabled and disabled. |
Members
This class has both data members and functions.
Data
| Data Member Name | Type | Description |
|---|---|---|
ApplyAnyDisguiseEvent |
listenable(payload) |
Signaled when any disguise is successfully applied to |
ApplyDisguiseEvent |
listenable(payload) |
Signaled when a disguise from this device is successfully applied to |
BreakAnyDisguiseEvent |
listenable(payload) |
Signaled when any applied disguise on |
BreakDisguiseEvent |
listenable(payload) |
Signaled when a disguise applied by this device on |
RemoveAnyDisguiseEvent |
listenable(payload) |
Signaled when any applied disguise on |
RemoveDisguiseEvent |
listenable(payload) |
Signaled when a disguise applied by this device on |
ShouldApplyDisguiseOnPlayerSpawn |
?logic |
Maps to the user option for Should Apply Disguise on Spawn. If this is true, the device will apply a disguise to the player as soon as they spawn, so long as they pass the device's filter options. |
Functions
| Function Name | Description |
|---|---|
ApplyDisguise |
Applies the disguise to the provided |
Disable |
Disables this device, preventing it from listening to inputs. Disguises applied by this device are not removed when the device is disabled. |
Enable |
Enables this device, allowing it to listen for inputs. |
GetTransform |
Returns the transform of the |
IsAnyDisguiseApplied |
Succeeds if the provided |
IsDisguiseApplied |
Succeeds if the provided |
IsEnabled |
Succeeds if the object is enabled, fails if it is disabled. |
MoveTo |
Moves the |
MoveTo |
Moves the |
RemoveAnyDisguise |
Removes any applied disguise from |
RemoveDisguise |
Removes the disguise applied by this device, if it exists, from the provided |
TeleportTo |
Teleports the |
TeleportTo |
Teleports the |