Reference
Text
18 Game Mode Studio nodes. Pick one for its pins, settings and limits.
valuetext.literal
Some text.
Outputs (1)
- Text Text
- The text.
Settings (1)
- Text
- Text: letters, digits, spaces and plain punctuation. Up to 100.
valuetext.append
B straight after A (add a space in B if you want one).
Inputs (2)
- A Text
- A: text. Leave it empty to use the setting.
- B Text
- B: text. Leave it empty to use the setting.
Outputs (1)
- Text Text
- The text.
Settings (2)
- A
- Text: letters, digits, spaces and plain punctuation. A wire into the pin of the same name is used instead. Up to 60.
- B
- Text: letters, digits, spaces and plain punctuation. A wire into the pin of the same name is used instead. Up to 60.
valuetext.format
Text with [0] [1] [2] [3] replaced by the values wired in.
Inputs (4)
- [0] Anything
- [0]: any value. Optional.
- [1] Anything
- [1]: any value. Optional.
- [2] Anything
- [2]: any value. Optional.
- [3] Anything
- [3]: any value. Optional.
Outputs (1)
- Text Text
- The text.
Settings (1)
- Format
- Text: letters, digits, spaces and plain punctuation. Default: [0] has [1] points. Up to 100.
valuetext.contains
Is B somewhere in A (capitals don't matter)?
Inputs (2)
- Text Text
- The text. Needs a wire.
- Find Text
- Find: text. Leave it empty to use the setting.
Outputs (1)
- Contains Yes/No
- Contains: yes or no.
Settings (1)
- Find
- Text: letters, digits, spaces and plain punctuation. A wire into the pin of the same name is used instead. Up to 60.
valuetext.length
How many characters the text has.
Inputs (1)
- Text Text
- The text. Needs a wire.
Outputs (1)
- Length Number
- Length: a number.
valuetext.to_number
The number written in the text (0 if none).
Inputs (1)
- Text Text
- The text. Needs a wire.
Outputs (1)
- Number Number
- The number.
A value as text: a number, a player's name, a vector, an enum's name...
Inputs (1)
- Value The node's type
- Value: the type set in Holds. Needs a wire.
Outputs (1)
- Text Text
- The text.
Settings (1)
- Holds
- What kind of values it holds. Default: number.
Text cut at each Separator, as an array of texts (at most 64 pieces; empty pieces kept).
Inputs (2)
- Text Text
- The text. Needs a wire.
- Separator Text
- Separator: text. Leave it empty to use the setting.
Outputs (1)
- Pieces Array of Text
- Pieces: a list of pieces of text.
Settings (1)
- Separator
- Text: letters, digits, spaces and plain punctuation. A wire into the pin of the same name is used instead. Default: ,. Up to 8.
valuetext.replace
The text with every Find replaced by With (capitals matter).
Inputs (3)
- Text Text
- The text. Needs a wire.
- Find Text
- Find: text. Leave it empty to use the setting.
- With Text
- With: text. Leave it empty to use the setting.
Outputs (1)
- Text Text
- The text.
Settings (2)
- Find
- Text: letters, digits, spaces and plain punctuation. A wire into the pin of the same name is used instead. Up to 40.
- With
- Text: letters, digits, spaces and plain punctuation. A wire into the pin of the same name is used instead. Up to 40.
valuetext.substring
Part of the text: Length characters from Start (the first is 0).
Inputs (3)
- Text Text
- The text. Needs a wire.
- Start Number
- Start: a number. Leave it empty to use the setting.
- Length Number
- Length: a number. Leave it empty to use the setting.
Outputs (1)
- Text Text
- The text.
Settings (2)
- Start
- A number from 0 to 127. A wire into the pin of the same name is used instead. Default: 0.
- Length
- A number from 0 to 127. A wire into the pin of the same name is used instead. Default: 5.
THE TEXT IN CAPITALS.
Inputs (1)
- Text Text
- The text. Needs a wire.
Outputs (1)
- Text Text
- The text.
the text in small letters.
Inputs (1)
- Text Text
- The text. Needs a wire.
Outputs (1)
- Text Text
- The text.
The text without spaces at the start and end.
Inputs (1)
- Text Text
- The text. Needs a wire.
Outputs (1)
- Text Text
- The text.
valuetext.starts_with
Does the text start with this (capitals don't matter)?
Inputs (2)
- Text Text
- The text. Needs a wire.
- Start Text
- Start: text. Leave it empty to use the setting.
Outputs (1)
- Starts with Yes/No
- Starts with: yes or no.
Settings (1)
- Start
- Text: letters, digits, spaces and plain punctuation. A wire into the pin of the same name is used instead. Up to 40.
valuetext.ends_with
Does the text end with this (capitals don't matter)?
Inputs (2)
- Text Text
- The text. Needs a wire.
- End Text
- End: text. Leave it empty to use the setting.
Outputs (1)
- Ends with Yes/No
- Ends with: yes or no.
Settings (1)
- End
- Text: letters, digits, spaces and plain punctuation. A wire into the pin of the same name is used instead. Up to 40.
An array's texts in one, with Separator between them (as much as fits in 127 characters).
Inputs (2)
- Texts Array of Text
- Texts: a list of pieces of text. Needs a wire.
- Separator Text
- Separator: text. Leave it empty to use the setting.
Outputs (1)
- Text Text
- The text.
Settings (1)
- Separator
- Text: letters, digits, spaces and plain punctuation. A wire into the pin of the same name is used instead. Default: , . Up to 8.
valuetext.format_time
Seconds as a clock: 1:05, or 1:02:05 (Auto: hours only when there are any).
Inputs (1)
- Seconds Number
- Seconds: a number. Needs a wire.
Outputs (1)
- Text Text
- The text.
Settings (1)
- Style
- Pick one: Auto, m:ss, h:mm:ss. Default: auto.
valuetext.format_number
A number as text with a set number of decimals, and thousands separated by commas if you like (12,345.6).
Inputs (1)
- Number Number
- The number. Needs a wire.
Outputs (1)
- Text Text
- The text.
Settings (2)
- Decimals
- A number from 0 to 4. Default: 0.
- Thousands separator
- On or off. Default: true.
Made from the app's own catalog (nodes.json, nodehelp.json, limits.ts), so it matches the app.