Skip to main content

Emit Number

The Emit Number node outputs a preconfigured number every time it receives any input. The actual input data is ignored -- it only serves as a trigger. This is handy when you need to produce a specific constant number in response to an event, such as resetting a counter to zero or setting a specific volume level.

Inputs

NameTypeDescription
TriggeranyAny incoming value. The data is ignored; receiving input causes the node to emit its configured number.

Outputs

NameTypeDescription
ValuenumberThe configured number value

Configuration

  • Number: The number value to emit.

Example

You want to reset a "death counter" to zero whenever a !reset chat command is used. Connect the command trigger to an Emit Number node configured to output 0, then connect that to a Set Variable node targeting the death counter variable. Every time the command fires, the counter resets to zero.