-
Notifications
You must be signed in to change notification settings - Fork 18
Formatted String
Leopold A-C edited this page Feb 4, 2021
·
4 revisions
Category: Values
This node can be used to combine values with strings to produce a readable text. It is especially useful for generating messages. Not all of the values have to be used.
Example:
Value A is set toHello
.
Value B is set toWorld
.
The format{}{}
would produce the messageHelloWorld
.
The format{} {}
would produceHello World
.
The format{} You
would produceHello You
.
Format
- This will be the generated text.
Each{}
fetches one of the following values in the order ABCD.
A
- This value will be inserted instead of the first
{}
in the generated text.
B
- This value will be inserted instead of the second
{}
in the generated text.
C
- This value will be inserted instead of the third
{}
in the generated text.
D
- This value will be inserted instead of the fourth
{}
in the generated text.
String
- The formatted text with the values inserted.
Documentation for Logic Nodes version 0.9.1 on UPBGE 0.3.0 Alpha