Variables

String This node provides a constant string value.
Boolean This node provides a constant boolean value.
Int This node provides a constant integer value.
Float This node provides a constant float point value.
Float Array This node provides a constant floating point array.
Color Value This node provides a constant color value.
Event This node triggers events.

Except for the Event and Float Array variable, all Variable nodes have an input property of the same type and an output event that fires when the input property value changes. All of them can be found by going to the Logic category in the Toolbox and right clicking on the Variables item.

There are two main applications for Variable Nodes. One is as constants which can then be bound to other nodes. For example a Float Variable might be bound to multiple Delay nodes to have a unified place to change all delay timings in a scene. This is especially important in the context of Containers to have a single property that can be exposed. The other main application is to detect when a value changes, using the Changed output event.

Float Array

When adding a Float Array Variable to a scene, the length of the array can be specified. Each item in the array is a float value that has a corresponding input property. Float arrays are often used as input for Charts.

Event

The Event Variable triggers its Fired output event when the Shot input property is changed from false to true or by triggering the Invoke method. The input property Delay defines the delay in frames between the event being triggered and the output method firing. The input property Enabled activates/deactivates the Event Node. A common use of the Event node is in combination with an Expression Node. This makes it possible to trigger events indirectly by an Expression. The Argument property specifies an integer value which is embedded in the event. This value can then be evaluated by e.g. the Counter, Switch and Script nodes if they are bound to such an Event node.