API ReferenceGE Extensionsflowgraphnodesgameplaytimers
Get Timer
**File:** `flowgraph/nodes/gameplay/timers/getTimer.lua`
File: flowgraph/nodes/gameplay/timers/getTimer.lua
Description: Gets various timer values.
Input Pins
| Name | Type | Description |
|---|---|---|
flow | flow | Inflow for this node. |
reset | flow | Resets this node. |
timerId | number | ID of the timer. |
capTime | bool | If true, elapsed, remaining and elapsedPercent will be capped if the timer is complete. |
Output Pins
| Name | Type | Description |
|---|---|---|
flow | flow | Outflow for this node. |
complete | flow | Outflow when the timer is complete. |
completed | flow | Outflow once when the timer is complete. |
incomplete | flow | Outflow when the timer is incomplete. |
elapsed | number | Amount of time elapsed on the timer. |
remaining | number | Amount of time still remaining on the timer. |
duration | number | How long the timer is running before considered complete. |
elapsedPercent | number | How complete the timer is in percent. Returns value is betwen 0 and 1. |
Methods
C:_executionStarted()C:work()
See Also
- Create Timer - Related reference
- Set Timer Property - Related reference
- Simple Timer - Related reference
- FlowGraph Guide - Guide