Returns the maximum health of the object. This value will be between 1.0 and Inf.
Verse using statement |
using { /Fortnite.com/Devices } |
GetMaxHealth<override>()<diverges><reads><writes><allocates>:float
Parameters
GetMaxHealth
does not take any parameters.
Attributes and Effects
The following attributes and effects determine how GetMaxHealth
behaves and how you can use it in your programs. For the complete list of attribute and effect specifiers, see the Specifiers Page.
Attribute | Meaning |
---|---|
override |
Indicates that this child class provides a different method implementation than the parent class. |
Effect | Meaning |
---|---|
diverges |
Indicates that calls to the function may not complete. |
reads |
This effect indicates that the same inputs to the function may not always produce the same output. The behavior depends on factors external to the specified inputs, such as memory or the containing package version. |
writes |
This effect indicates that the function may change values in memory. |
allocates |
This effect indicates that the function may instantiate an object in memory. Allocating <unique> classes requires the <allocates> specifier. |