Used to manipulate scores using in-experience triggers. If Activating Team is set to a specific team, then you should use the agent
overloads of each function. The agent
's team will be used to determine if that agent
is allowed to affect the state of 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. |
Members
This class has both data members and functions.
Data
Data Member Name | Type | Description |
---|---|---|
MaxTriggersEvent |
listenable(payload) |
Signaled when the this device reaches its maximum number of triggers as defined by Times Can Trigger.
Sends the |
ScoreOutputEvent |
listenable(payload) |
Signaled when the this device awards points to an |
Functions
Function Name | Description |
---|---|
Activate |
Grant points to |
Activate |
Grants points. |
Decrement |
Decrements the score quantity to be awarded by the next activation by |
Decrement |
Decrements the score quantity to be awarded by the next activation by |
Disable |
Disables this device. |
Disable |
Disables this device. |
Enable |
Enables this device. |
Enable |
Enables this device. |
GetCurrentScore |
Returns the current score for |
GetScoreAward |
Returns the score to be awarded by the next activation. |
GetTransform |
Returns the transform of the |
Increment |
Increments the score quantity to be awarded by the next activation by |
Increment |
Increments the score quantity to be awarded by the next activation by |
MoveTo |
Moves the |
MoveTo |
Moves the |
Reset |
Resets this device to its original state. |
Reset |
Resets this device to its original state. |
SetScoreAward |
Sets the score to be awarded by the next activation to |
SetToAgentScore |
Sets the score to be awarded by the next activation to |
TeleportTo |
Teleports the |
TeleportTo |
Teleports the |