Skip to content

Input sequence

103

The Input sequence node is a multi-input validator that checks if actions are performed in a specific chronological order. It supports up to 10 discrete input triggers (in01 to in10) and tracks the player's progress through a defined sequence string.

When to use this node: * Action Sequences: A puzzle where players must "Touch the Red button, then Blue, then Green". * Pattern Matching: Requiring a specific sequence of lever pulls or floor tile presses. * Time-Limited Challenges: Using the enterCharTimer and enterTotalTimer properties to force players to enter the sequence within a strict timeframe or risk a reset.

Pro Tip: The position output can be used to drive a progress bar, showing players how close they are to completing the full sequence.

Connectors in

  • sequence [type: string]
  • reset [type: action]
  • in01 [type: action]
  • in02 [type: action]
  • in03 [type: action]
  • in04 [type: action]
  • in05 [type: action]
  • in06 [type: action]
  • in07 [type: action]
  • in08 [type: action]
  • in09 [type: action]
  • in10 [type: action]

Connectors out

  • onAccomplised [type: action]
  • onError [type: action]
  • isAccomplised [type: bool]
  • position [type: integer]
  • sequence [type: string]

Node properties

  • enterCharTimer [type: integer]
  • enterTotalTimer [type: integer]
  • separator [type: string]
  • sequence [type: string]