Pause Node

From Intrigues Wiki
Revision as of 11:50, 29 May 2025 by Tayfunwiki (talk | contribs) (Created page with "= ⏸️ Pause Node = The '''Pause''' node stops the execution of the current <code>Scheme</code>. ---- == 🧠 What it does == When executed, the scheme is '''paused''' until a <code>Resume</code> node is triggered. This is useful for waiting on player input or external events. The execution state is stored and will resume from the next node when resumed. ---- == 📌 Use Case == Pause the scheme when a key is pressed, and resume when another is released. ---- ==...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

⏸️ Pause Node

The Pause node stops the execution of the current Scheme.


🧠 What it does

When executed, the scheme is paused until a Resume node is triggered. This is useful for waiting on player input or external events.

The execution state is stored and will resume from the next node when resumed.


📌 Use Case

Pause the scheme when a key is pressed, and resume when another is released.


⚠️ Note

  • While paused, no other nodes will be executed.
  • Requires a matching Resume node to continue.

🔗 Related Nodes

  • Resume
  • Repeater
  • Key Handler

Used when you want to halt a scheme’s logic, awaiting external confirmation or action.