Skip to main content

Int Variable Nodes

Int Variable Node
Int Variable Node

Int variable nodes are used to declare/create an integer variable for use in other places in a dialogue.

You can retreive int variable values by using Get Variable nodes, or set their values using Set Variable nodes.

The int variable node includes a text field where you can set the initial value of the variable.

If you want the variable to be reset to the initial value each time the dialogue is entered, check the "Reset on Entry" toggle. Note: This only applies to local variables.

If the variable is intended to be a global variable (accessible from any dialogue), check the "Is Global" toggle.

Int variable nodes have a single int value output, which returns the current value of the variable.