API ReferenceGE Extensionsflowgraphnodesgameplay
Countdown
**File:** `flowgraph/nodes/gameplay/countdown.lua`
File: flowgraph/nodes/gameplay/countdown.lua
Description: Manages a Countdown. Displays it on the screen as well, using both Message and FlashMessage.
Category: repeat Tags: scenario
Data Fields
| Field | Default |
|---|---|
self.data.bigFinishMsg | true |
self.data.playSounds | true |
self.data.useImgui | false |
self.data.useMessages | false |
Input Pins
| Name | Type | Description |
|---|---|---|
flow | flow | Inflow for this node. |
reset | flow | Reset the countdown. |
duration | number | Duration of countdown. |
countdownMsg | string | Message to show before the countdown message; %d is the number. |
finishMsg | string | Message to flash at the end of countdown; leave blank to use default translation string. |
finishMsgDuration | number | Duration of finish message. |
Output Pins
| Name | Type | Description |
|---|---|---|
flow | flow | Outflow for this node. |
finished | flow | Triggers when countdown has finished. |
ongoing | flow | Triggers when countdown is in progress. |
Methods
C:init(mgr, ...)C:onExecutionStarted()C:_executionStopped()C:reset()C:stopTimer()C:startTimer()C:show(msg, big, duration)C:countdown()C:drawMiddle(builder, style)C:work(args)
See Also
- Allow Walking - Related reference
- Blacklist Walking - Related reference
- Can Enter From Walking - Related reference
- FlowGraph Guide - Guide