Skip to content

GameTimer

167

The GameTimer node allows your logic to interact directly with the main game countdown clock. It can read the remaining time and dynamically alter the clock's behavior based on player performance.

When to use this node: * Time Penalties: Subtracting minutes from the clock if players enter a wrong code or "trigger an alarm". * Time Rewards: Adding bonus time to the clock for finding a hidden token or completing a difficult side quest. * Dynamic Feedback: Triggering alarms or visual changes when the gamePercentComplete reaches a certain threshold (e.g., 90% of time has elapsed).

Connectors in

  • totalTime [type: integer]
  • addMinute [type: action]
  • subMinute [type: action]

Connectors out

  • gameSec [type: integer]
  • gameSecDec [type: integer]
  • gameSecTotal [type: integer]
  • gamePercentComplete [type: integer]
  • onTimeUpdated [type: action]