If the Agent
has the effect applied to them, this will return the remaining time the effect has.
Returns -1.0 if the effect has an infinite duration.
Returns 0.0 if the Agent
does not have the effect applied.
Verse using statement |
using { /Fortnite.com/Devices } |
GetRemainingTime<public>(Agent:agent)<diverges><reads><writes><allocates>:float
Parameters
GetRemainingTime
takes the following parameters:
Name | Type | Description |
---|---|---|
Agent |
agent |
Attributes and Effects
The following attributes and effects determine how GetRemainingTime
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 |
---|---|
public |
The identifier is universally accessible. You can use this on modules, classes, interfaces, structs, enums, methods, and data. |
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. |