Skip to main content
Version: 2026.7
Still in testing

The SDK of this version is still being tested, and these pages are being updated with it: names, menus and procedures may still change before the release. If you build content for a platform already in production, follow the documentation of that version — pick it from the version menu at the top right.

Procedure Nodes

These nodes read and drive a Procedure: a Task System with a Procedure Placeholder. They are provided by the Virtuademy-SDK-Environments package. The nodes that report on tasks are in Task System Nodes.

Every node takes a Procedure (ProcedurePlaceholder). If you leave it empty it defaults to the one on the same GameObject as the graph. With none connected and none on the GameObject, the node throws an error.

Expose Nodes​

Get Procedure State Node​

🔍 Virtuademy > Procedure > Virtuademy Procedure: Get Procedure State

This Node reads the live state of a procedure.

  • ⬇️ Input:

    • Procedure (ProcedurePlaceholder), the procedure to read. If left empty, it defaults to the one on the same GameObject.
  • ⬆️ Output:

    • Score (int), the points earned so far.
    • MaxScore (int), the points of the scored tasks.
    • Percent (float), the score as a percentage of the maximum.
    • Errors (int), the wrong actions counted.
    • HintsUsed (int), the hints used.
    • ElapsedSeconds (float), the seconds since the run started.
    • RemainingSeconds (float), the seconds left with a time limit; -1 without one.
    • IsRunning (bool), whether a run is going.
    • IsFinished (bool), whether the run has finished.

Flow Nodes​

Finish Procedure Node​

🔍 Virtuademy > Procedure > Virtuademy Procedure: Finish Procedure

This Node ends the run now: it passes or fails on the score so far, and the summary shows (when Show Summary is on). Use it when your environment decides that the run is over. Leaving the scene does not end the run: see Analytics.

  • ⬇️ Input:
    • Procedure (ProcedurePlaceholder), the procedure to finish. If left empty, it defaults to the one on the same GameObject.

Retry Procedure Node​

🔍 Virtuademy > Procedure > Virtuademy Procedure: Retry Procedure

This Node starts the procedure again, as the Retry Mode of the placeholder says: it ends the run that is going (as abandoned), waits for its analytics statements (up to eight seconds), then reloads the session or reverts the task system in place. The On Retry event is raised first.

  • ⬇️ Input:
    • Procedure (ProcedurePlaceholder), the procedure to restart. If left empty, it defaults to the one on the same GameObject.

Request Hint Node​

🔍 Virtuademy > Procedure > Virtuademy Procedure: Request Hint

This Node shows the hint of the task that is to do, as the procedure's hint settings say: the hint text, the penalty if the hint is charged, and the task's targets shown for a moment. Nothing happens when Hints Enabled is off.

  • ⬇️ Input:
    • Procedure (ProcedurePlaceholder), the procedure to ask. If left empty, it defaults to the one on the same GameObject.

Event Nodes​

On Procedure Finished​

🔍 Events > Virtuademy > Virtuademy Procedure: On Procedure Finished

This event triggers when the procedure ends, however it ends: passed, failed or abandoned.

  • ⬇️ Input:

    • Procedure (ProcedurePlaceholder), the procedure to watch. If left empty, it defaults to the one on the same GameObject.
  • ⬆️ Output:

    • Passed (bool), true when the procedure passed; false when it failed or was abandoned.
    • Score (int), the final score.
    • MaxScore (int), the maximum score.

On Score Changed​

🔍 Events > Virtuademy > Virtuademy Procedure: On Score Changed

This event triggers when the procedure's score, errors or hints change: read the new values with Get Procedure State.

  • ⬇️ Input:
    • Procedure (ProcedurePlaceholder), the procedure to watch. If left empty, it defaults to the one on the same GameObject.

On Hint Used​

🔍 Events > Virtuademy > Virtuademy Procedure: On Hint Used

This event triggers when a hint is used.

  • ⬇️ Input:

    • Procedure (ProcedurePlaceholder), the procedure to watch. If left empty, it defaults to the one on the same GameObject.
  • ⬆️ Output:

    • Task (GameObject), the task the hint was for.
    • HintsUsed (int), the hints the procedure has counted so far.