Skip to content

Auto increment

108

The Auto increment node is a dynamic value controller that "charges up" to a maximum value when enabled and "discharges" back to zero when disabled. It is the perfect tool for creating pressure-based puzzles or timed charging mechanics.

When to use this node: * Pressure Puzzles: Players must hold down a heavy lever to build up "steam pressure." If they let go, the pressure (value) starts falling back down at the defined fall speed. * Timed Activation: Using the onReached action to trigger an event once players have successfully kept a system active for a long enough duration. * Overheating Mechanics: Using the rising boolean to drive a red warning light whenever a system is under too much "stress".

Technical Note: You can adjust the step delay and fall speed to fine-tune exactly how difficult it is for players to reach the goal.

Connectors in

  • enabled [type: bool]
  • maximum [type: integer]
  • step [type: integer]
  • reset [type: action]

Connectors out

  • value [type: integer]
  • rising [type: bool]
  • reached [type: bool]
  • onReached [type: action]

Node properties

  • fall speed (ms) [type: integer]
  • fall step [type: integer]
  • maximum [type: integer]
  • maximum delay (ms) [type: integer]
  • maximumReachable [type: bool]
  • step [type: integer]
  • step delay (ms) [type: integer]