Roly Poly spawned from the 'roly_poly_spawner_device'
Verse using statement |
using { /Fortnite.com/Devices } |
Exposed Interfaces
This class exposes the following interfaces:
| Name | Description |
|---|---|
positional |
Implemented by objects to allow reading position information. |
healthful |
Implemented by Fortnite objects that have health state and can be eliminated. |
healable |
Implemented by Fortnite objects that can be healed. |
damageable |
Implemented by Fortnite objects that can be damaged. |
Members
This class has both data members and functions.
Data
| Data Member Name | Type | Description |
|---|---|---|
Energy |
?float |
Set/Get the Energy level of the spawned Roly Poly. Energy will be clamped to 0 - 100. |
Functions
| Function Name | Description |
|---|---|
GetTransform |
Returns the transform of the Roly Poly |
GetHealth |
Returns the health state of the Roly Poly. This value will be between 0.0 and 'GetMaxHealth' |
SetHealth |
Sets the health state of the Roly Poly to 'Health'.
|
GetMaxHealth |
Returns the maximum health of the Roly Poly. This value will be between 1.0 and 9999.0. |
SetMaxHealth |
Sets the maximum health state of the Roly Poly.
|
Heal |
Heal the Roly Poly anonymously by 'Amount'. Setting 'Amount' to less than 0 will cause no healing. Use 'Heal(:healing_args):void' when healing is being applied from a known instigator and source. |
Heal |
Heal the Roly Poly by 'Args.Amount'. Setting 'Amount' to less than 0 will cause no healing. |
HealedEvent |
Signaled when healing is applied to the Roly Poly. |
Damage |
Damage the Roly Poly anonymously by 'Amount'. Setting 'Amount' to less than 0 will cause no damage. Use 'Damage(:damage_args):void' when damage is being applied from a known instigator and source. Damage caused by events will not cause players to be bucked from the Roly Poly. |
Damage |
Damage the Roly Poly by 'Args.Amount'. Setting 'Amount' to less than 0 will cause no damage. Damage caused by events will not cause players to be bucked from the Roly Poly. |
DamagedEvent |
Signaled when damage is applied to the Roly Poly. |
SetFrightened |
Set the Frightened status of the Roly Poly.
|