Skip to content

globalValue

15

The globalValue node represents a variable that exists across the entire game instance. It is the primary way to share data (like strings or numbers) between different diagrams or separate scripts that aren't directly connected.

When to use this node: * Cross-Diagram Communication: Passing a player's name or a gathered item's ID from one room's logic to another. * Persistent States: Storing a value that needs to be accessed by multiple independent logic chains simultaneously.

Connectors in

  • value [type: variant]

Connectors out

  • value [type: variant]

Node properties

  • name [type: string]