UI Message Variable
Declare UI Message Variable
Description
Declare a UI Message variable with a custom Identifier. Variable declarations do not require an event node to trigger. Use Create UI Message to initialize the value.
Node Type
Nodes fall into two basic categories: Data and Execution. This node Executes a function when the game loads.
Inputs
Identifier
String
Yes
The custom string id for this variable.
Initial Value
UI Message
No
What the variable holds when the game starts.
Scope
Scope
Yes
Local scope can only be accessed within the same script brain. Global and Object can be accessed by any script brain. Object scoped variables use the Object pin, to associate the variable with an object in the game.
Outputs
(none)
\
Get UI Message Variable
Description
Get the UI Message variable stored with the matching Identifier in the matching Scope. The Object pin is only used when accessing the Object scope.
Node Type
Nodes fall into two basic categories: Data and Execution. This node supplies Data for an Execution node.
Inputs
Identifier
String
Yes
The custom string id for this variable.
Scope
Scope
Yes
Must match scope of declared variable with the same identifier.
Object
Object
No
Used to associate variable with an object when Object scope is used.
Outputs
Value
UI Message
Current value of this variable.
\
Set UI Message Variable
Description
Set the UI Message variable stored with the matching Identifier in the matching Scope. The Object pin is only used when accessing the Object scope.
Node Type
Nodes fall into two basic categories: Data and Execution. This node Executes a function directly in the node string.
Inputs
Identifier
String
Yes
The custom string id for this variable.
Value
UI Message
Yes
The new value for this variable.
Scope
Scope
Yes
Must match scope of declared variable with the same identifier.
Object
Object
No
Used to associate variable with an object when Object scope is used.
Outputs
(none)
Contributors
AddiCt3d 2CHa0s
Last updated