Countdown

Delays for a number of updates (the duration) while firing output tick activations with a given period. When the countdown is complete it triggers the finished output. The first compute does not generate a tick output.

Installation

To use this Node, you must enable omni.graph.action in the Extension Manager.

Inputs

Name

Type

Description

Default

execIn

execution

The input execution

duration

int

The duration of the delay in ticks

5

period

int

The period of the pulse in ticks

1

Outputs

Name

Type

Description

Default

finished

execution

Triggered after duration ticks is finished

tick

execution

Triggered every ‘period’ ticks

alpha

float

normalized progress in the range IE ‘tickValue’/’duration’

tickValue

int

The current tick value in the range [1, duration]