Skip to content

Case

85

The Case node is an exact-match selector. It compares an incoming value (string or number) against a list of up to eight specific targets (is0 to is7) and fires the corresponding output action when a match is found.

When to use this node: * Keypad Outcomes: Handling different behaviors for different codes. For example, code "1234" opens the door, while code "0000" plays a "System Reset" sound. * RFID Interaction: Triggering unique narrative events based on which specific character's ID card was swiped at a terminal. * Branching Paths: Directing players to different parts of a story based on a choice they made earlier in the game.

Connectors in

  • value [type: variant]
  • is0 [type: string]
  • is1 [type: string]
  • is2 [type: string]
  • is3 [type: string]
  • is4 [type: string]
  • is5 [type: string]
  • is6 [type: string]
  • is7 [type: string]

Connectors out

  • res [type: integer]
  • out0 [type: action]
  • out1 [type: action]
  • out2 [type: action]
  • out3 [type: action]
  • out4 [type: action]
  • out5 [type: action]
  • out6 [type: action]
  • out7 [type: action]

Node properties

  • is0 [type: string]
  • is1 [type: string]
  • is2 [type: string]
  • is3 [type: string]
  • is4 [type: string]
  • is5 [type: string]
  • is6 [type: string]
  • is7 [type: string]