Skip to content

Select String

132

The Select String node serves as a simple index-to-text converter. It looks at the incoming value (index) and outputs the corresponding string from its list, making it ideal for state-based labels.

When to use this node: * Game Phase Indicators: Converting numerical game states (0, 1, 2) into human-readable text like "Preparation," "Playing," and "Finished". * Difficulty Scaling: Outputting different hints or instructions based on a chosen difficulty level index.

Connectors in

  • value [type: variant]
  • str0 [type: string]
  • str1 [type: string]
  • str2 [type: string]
  • str3 [type: string]
  • str4 [type: string]
  • str5 [type: string]
  • str6 [type: string]
  • str7 [type: string]
  • str8 [type: string]
  • str9 [type: string]

Connectors out

  • res [type: string]

Node properties

  • refresh [type: action]
  • str0 [type: string]
  • str1 [type: string]
  • str2 [type: string]
  • str3 [type: string]
  • str4 [type: string]
  • str5 [type: string]
  • str6 [type: string]
  • str7 [type: string]
  • str8 [type: string]
  • str9 [type: string]
  • use stringTable [type: bool]