Verse API reference page for the disguise_device class
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 player. Includes disguises applied by any disguise device, or by a disguise kit. |
ApplyDisguiseEvent |
listenable(payload) |
Signaled when a disguise from this device is successfully applied to player. |
BreakAnyDisguiseEvent |
listenable(payload) |
Signaled when any applied disguise on player is broken. Includes disguises applied by any disguise device, or by a disguise kit. The second optional agent describes who broke the disguise (the damage source if broken by damage or elimination). The conditions triggering a disguise to break are set in the device's user options. |
BreakDisguiseEvent |
listenable(payload) |
Signaled when a disguise applied by this device on player is broken. The second optional agent describes who broke the disguise (the damage source if broken by damage or elimination). The conditions triggering a disguise to break are set in the device's user options. |
RemoveAnyDisguiseEvent |
listenable(payload) |
Signaled when any applied disguise on player is removed. Includes disguises applied by any disguise device, or by a disguise kit. Removal can occur from calling the Remove Disguise function, or from getting replaced by another disguise. This event will not trigger if the disguise is broken. |
RemoveDisguiseEvent |
listenable(payload) |
Signaled when a disguise applied by this device on player is removed. Removal can occur from calling the Remove Disguise function, or from getting replaced by another disguise. This event will not trigger if the disguise is broken. |
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. |
You're reading a preview
The full reference is free for BrainDeadGuild Discord members — sign in to read it all, or open the original at the source.
Sign in with your BrainDead.TV / BrainDeadGuild Discord account for full access.